bearcub
Well-known Member
- Joined
- May 18, 2005
- Messages
- 734
- Office Version
- 365
- 2013
- 2010
- 2007
- Platform
- Windows
I have several files that I use every month. I have two sheets which include the current month that I am working on.
For example, I'm starting the November file and I need to rename a couple of these sheets from Sept to Oct (I do commissions so we I am preparing the Oct commissions to be paid at the end of Nov).
I want to change:
Comm_Sept 2019 Brazil Summary
<------------------to-------------------->
Comm_Oct 2019 Brazil Summary
I'm would like to automate this using a macro so I don't have to update it every month (some months I miss changing the name). The current file name I'm using is
Compensation Summary - Nov 2019 - Brazil Accruals for Oct 19
I want to use the word "Oct" in the sheet name (e.g. Comm_Oct 2019 Brazil Summary from Comm_Sept 2019 Brazil Summary).
Is there a macro that change Month in the sheet name to the month in the file name?
Thank you for your help in advance,
Michael
For example, I'm starting the November file and I need to rename a couple of these sheets from Sept to Oct (I do commissions so we I am preparing the Oct commissions to be paid at the end of Nov).
I want to change:
Comm_Sept 2019 Brazil Summary
<------------------to-------------------->
Comm_Oct 2019 Brazil Summary
I'm would like to automate this using a macro so I don't have to update it every month (some months I miss changing the name). The current file name I'm using is
Compensation Summary - Nov 2019 - Brazil Accruals for Oct 19
I want to use the word "Oct" in the sheet name (e.g. Comm_Oct 2019 Brazil Summary from Comm_Sept 2019 Brazil Summary).
Is there a macro that change Month in the sheet name to the month in the file name?
Thank you for your help in advance,
Michael