View Full Version : Change System Date


crhodus
07-22-2004, 09:23 AM
Is there a way to change the system date on the computer using VBA?

ghudson
07-22-2004, 11:57 AM
Date = YourDate
YourDate could be a text box and you can use the above in the OnClick event of a command button.

You need to be careful and ensure that the date key is valid and in the correct format for your system.

You could use the IsDate() function to test the keyed date.