View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
John Wilson John Wilson is offline
external usenet poster
 
Posts: 550
Default A code to modify the system time ?

Ayoto,

Check the VBA Help for "Date" and "Time"

Example:
To change the date
Date = #February 12, 1999#

To set the time
Time = #4:35:17 PM#

John


"Ayato" wrote in message
.. .
Hello @ll,

Is there a piece of code that can modify the system date/time ?

please advise,

Ayato