sacred_hoops
New Member
- Joined
- Apr 18, 2013
- Messages
- 4
Hi,
After much use of the forum for answers I seemed to have reached a point where I need some help!
I have a document with a macro that references a sheet titled 'April 2013'. The trouble I have is that every month I need to change the code to the next month's sheet, i.e. 'May 2013'
This is the line of code:
Workbooks("Adaptive MS Schedule.xlsx").Sheets("April"2013").Range("A1:CD313")
Is there a way I can amend the above, so that it references a cell (i.e A1) for the month's name?
I imagine this is an easy thing, but is beyond my knowledge.
Thanks in advance for any help.
Tom
After much use of the forum for answers I seemed to have reached a point where I need some help!
I have a document with a macro that references a sheet titled 'April 2013'. The trouble I have is that every month I need to change the code to the next month's sheet, i.e. 'May 2013'
This is the line of code:
Workbooks("Adaptive MS Schedule.xlsx").Sheets("April"2013").Range("A1:CD313")
Is there a way I can amend the above, so that it references a cell (i.e A1) for the month's name?
I imagine this is an easy thing, but is beyond my knowledge.
Thanks in advance for any help.
Tom