Hi All,
I need help to exclude Weekends when i run the macro.
Here the Code:
Thanks in advance!!!![]()
Please Login or Register to view this content.
Regards
Elango
Hi All,
I need help to exclude Weekends when i run the macro.
Here the Code:
Thanks in advance!!!![]()
Please Login or Register to view this content.
Regards
Elango
Can you please post the whole script?
Thanks,
Solus
Please remember the following:
1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.Highlight the code in your post and press the # button in the toolbar.2. Show appreciation to those who have helped you by clickingbelow their posts.
3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.
"Slow is smooth, smooth is fast."
you can use the function "weekday"
note :![]()
Please Login or Register to view this content.
sunday = 1
monday = 2
...
but you can change these defaults properties by the way
Hi Solus,
Apologize for the delay post.
Hope above script will help..![]()
Please Login or Register to view this content.
Regards
Elango
Hi Kiwoop,
Thanks for your code.
But still i am not clear about the code. I tried this code an error was occurred
Elango
Try:
Untested.![]()
Please Login or Register to view this content.
Hi Solus,
Thanks for the try...
Macro is not working once i click the command button. I will look for some other alternative codes.
Elango
Actually, you add a sheet with the date as name, and you dont want to add sheets for day which are on weekends is that right ?
The Xero Solus code should work I reckon. Which line do you get the error ?
I found a code to avoid the Weekends.
Thanks
Elango
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks