I have a date range, 1/1/2012 to 1/24/2012. In this date range I would like to create a list of all the dates that fall on Monday and Tuesday. Any ideas on how to do that in VBA?
I have a date range, 1/1/2012 to 1/24/2012. In this date range I would like to create a list of all the dates that fall on Monday and Tuesday. Any ideas on how to do that in VBA?
Last edited by Ricker090; 12-13-2011 at 09:37 PM.
One way:
![]()
Please Login or Register to view this content.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
try this:
start day cell A1![]()
Please Login or Register to view this content.
end day cell B1
Regards
tom1977
If You are satisfied with my solution click the small star icon on the left to say thanks.
Thanks!! They both work great.
You're welcome. Thanks for the rep.
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks