Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50099

Create copies of a workbook named after each day of the month.

$
0
0
Hello Guys, I have a workbook that is created everyday by using a template. Which is simply a copy and paste and the change the name of the new workbook to today's date "May 24" for example. I need a macro that could utilize a button so the user can press and the sheet can copy itself and paste 31 copies of the same workbook into a folder but all with different date names. So "May 01.xlxs" and "May 02.xlxs" etc etc

If the user enter the month name in cell A1 for example then all the dates created into that folder are named after the month plus how ever many days of the month.

If you want to get fancy and somehow know how to do this for only weekdays you would be more than amazing in my eyes, but I'm perfectly happy with just manually deleting all dates that fall on Saturday and Sunday that the macro created.

Any help would be greatly appreciated.



Kind Regards

Viewing all articles
Browse latest Browse all 50099

Trending Articles