Date Variable in Macros

N

Neil

Hi,

I currently have a macro that copies data from 1 worksheet to another.

What i would like the macro to do, is only copy and paste the data if
the current day is not a Sunday or Monday.

Any help would be greatly appreciated.

Thanks
Neil
 
J

Jim Cone

Checkout the VBA WeekDay function.

--
Jim Cone
Portland, Oregon USA
http://tinyurl.com/ExtrasForXL

..
..
..

"Neil" <[email protected]>
wrote in message
Hi,

I currently have a macro that copies data from 1 worksheet to another.

What i would like the macro to do, is only copy and paste the data if
the current day is not a Sunday or Monday.
Any help would be greatly appreciated.
Thanks
Neil
 

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