Time Function

  • Thread starter Thread starter alihussain19
  • Start date Start date
A

alihussain19

I need to get the current day in a Macro, How could I do this!!!
I need to compare it with the Day in my OutLook Calendar.
 
If you want the day name, try

Format(date,"ddd")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Dim MyDate
MyDate = Date

or to include time too

mydatetime = now()

--
If I've mis-understood the question please tell me.

HTH

ijb

Remove nospam from my e-mail address to talk direct

Not MCSD, MVP, TLA, P&P, PCMCIA, etc just trying to help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top