Thread: [Solved] Adding current time to VBA
View Single Post
 
Old 01-13-2018, 02:40 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,373
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by blackroz View Post
Quote:
Originally Posted by macropod View Post
You could just change:
strDate = Format((Date), "dd MMM yyyy")
to, say:
strDate = Format(Now, "dd MMM yyyy @ hh mm ss")
I added but it shows 00 00 00
And did you change:
(Date)
to:
Now
?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote