Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Date Variable in Macros

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default Date Variable in Macros

Checkout the VBA WeekDay function.

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

..
..
..

"Neil"
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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine macros variable help Ephraim Excel Worksheet Functions 2 March 21st 10 01:52 PM
Transfer variable between macros WLMPilot Excel Programming 4 October 8th 09 05:58 PM
Macros - variable columns Evan Excel Discussion (Misc queries) 1 August 14th 09 05:51 PM
Dummy variable in macros BWimer Excel Discussion (Misc queries) 1 April 4th 08 09:21 PM
Macros with variable data jeannie v Excel Worksheet Functions 2 June 17th 07 10:20 PM


All times are GMT +1. The time now is 04:28 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"