PDA

View Full Version : Solved: Todays Date Name in VBA



JimS
03-26-2009, 01:18 PM
How can I convert the following formula so that I can use it in VBA (or use some other method)?

=TEXT(TODAY(),"ddd")

Basically I have a several IF/Then VBA Statements and depending on what todays day name is (ie: Mon, Tue, Wed, Thu or Fri) will determine which If/Then Statement gets executed.


Thanks...

Jim

Kenneth Hobs
03-26-2009, 01:24 PM
MsgBox Format(Date,"ddd")

Bob Phillips
03-26-2009, 01:24 PM
If Format(Date,"ddd") = "Mon" Then

JimS
03-26-2009, 01:33 PM
Thanks xld, perfect...