![]() |
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 |
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 |
All times are GMT +1. The time now is 03:40 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com