Day of the week

J

JT

Users enter a date in a specific cell on a specific sheet. Users can only
submit items for the previous month if it is the first or second weekday in
the current month.

If the date is for a previous month, I want my macro to look at the current
date and figure out if it is the third weekday in the current month or later.
During this process, I need to skip Saturdays and Sundays.

For example:
February 2009:
Day 1 = Monday 2/2
Day 2 = Tuesday 2/3
Day 3 = Wednesday 2/4

If the user enters a date of 1/31 and submits it on 2/2 or 2/3, it is okay.
However, if it is 2/4, it's not okay.

I'm not sure how to get started to figure out which day of the month the
current date.

I'm also looking for suggestions on how to add company holidays into this
edit.

Thanks for the 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

Top