I have a macro that print out a daily schedule just as I would like but now I am trying to add a couple more functions to it
1.After I print the file for the day I want to copy the sheet named "Today" and rename it as the next work day (M-F) date formatted as mmddyy, so if today is January 3, 2014 I would want to name the new sheet 010613 or if it was 1/6/2014 I would want it named 010714. What I have now works but names the file with the current date-
Sheets("Today").Copy Before:=Sheets(9)
Sheets("Today (2)").Select
Sheets("Today (2)").Name = Format(Date, mmddyy)
The second thing I would like to do is automatically do is have a range of cells (D20:K21) be filled with the text "Meeting" every Friday without me having to type it in. I know how to
I am not sure I have explained this well but can give you more info or even send a copy of the file I am working with so you can see what I am trying to do. Thanks
Andrew
andrewc@vatainc.com
1.After I print the file for the day I want to copy the sheet named "Today" and rename it as the next work day (M-F) date formatted as mmddyy, so if today is January 3, 2014 I would want to name the new sheet 010613 or if it was 1/6/2014 I would want it named 010714. What I have now works but names the file with the current date-
Sheets("Today").Copy Before:=Sheets(9)
Sheets("Today (2)").Select
Sheets("Today (2)").Name = Format(Date, mmddyy)
The second thing I would like to do is automatically do is have a range of cells (D20:K21) be filled with the text "Meeting" every Friday without me having to type it in. I know how to
I am not sure I have explained this well but can give you more info or even send a copy of the file I am working with so you can see what I am trying to do. Thanks
Andrew
andrewc@vatainc.com