Change System Date

crhodus

Registered User.
Local time
Today, 02:11
Joined
Mar 16, 2001
Messages
257
Is there a way to change the system date on the computer using VBA?
 
Code:
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.
 

Users who are viewing this thread

Back
Top Bottom