Hi vn900,
The answer is YES!!
Sheets are indexed from left to right from 1 (the very left one) to the farthest on the right.
You can do VBA code of.
Activesheet.Index which will return the index number of the sheet you are looking at.
This all means if you want to get somehing off the sheet to the immediate left you would use
So say you want to copy range A1 to E5 from the sheet to the left to the active sheet. Your code would look like
BTW - the last worksheet number is given by
hope all this brain drain helps.
Bookmarks