Barry Katcher
Well-known Member
- Joined
- Feb 25, 2002
- Messages
- 4,053
Hi, guyz & galz.
I have 12 identically set up monthly worksheets, named Jan thru Dec. I would like to be able to, by code, go to the preceding worksheet, regardless of it's name, select and copy a range, then return to the original worksheet and paste.
I think I can just record a macro to do the copying and pasting, but I need those two little lines of code to take me to the preceding worksheet and then take me back to the originating worksheet.
If I can do that, it will only take one macro instead of separate codes for each of the eleven sheets (Feb thru Dec.)
Thanx in advanx,
Barry
I have 12 identically set up monthly worksheets, named Jan thru Dec. I would like to be able to, by code, go to the preceding worksheet, regardless of it's name, select and copy a range, then return to the original worksheet and paste.
I think I can just record a macro to do the copying and pasting, but I need those two little lines of code to take me to the preceding worksheet and then take me back to the originating worksheet.
If I can do that, it will only take one macro instead of separate codes for each of the eleven sheets (Feb thru Dec.)
Thanx in advanx,
Barry