Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,570
- Office Version
- 365
- 2016
- Platform
- Windows
VBA function WEEKDAY(date) returns the the number relating to the day of the week. eg Sun = 1, Mon = 2 etc.
Suppose I have a day text value, like Sat. What is a VBA solution to getting it's value 7?
I could do an If Elseif Then routine, but I'm hoping their might be a shorter method.
Suppose I have a day text value, like Sat. What is a VBA solution to getting it's value 7?
I could do an If Elseif Then routine, but I'm hoping their might be a shorter method.