C crhodus Registered User. Local time Today, 02:11 Joined Mar 16, 2001 Messages 257 Jul 22, 2004 #1 Is there a way to change the system date on the computer using VBA?
ghudson Registered User. Local time Today, 03:11 Joined Jun 8, 2002 Messages 6,194 Jul 22, 2004 #2 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.
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.