I have a macro that is designed to collect info from all sheets of a workbook, but i end up missing information if the workbook was last saved on a tab other than the 1st tab. How can i easily move back to cell A1 on the 1st tab of the workbook?
I have a macro that is designed to collect info from all sheets of a workbook, but i end up missing information if the workbook was last saved on a tab other than the 1st tab. How can i easily move back to cell A1 on the 1st tab of the workbook?
Hi sienahoops and welcome to the forum,
Excel has lots of objects and most of them have an INDEX number that can be used to work with them. Worksheets have names and also index numbers. The first one (on the left) can be found using Worksheets(1)..
Read http://msdn.microsoft.com/en-us/libr...ffice.11).aspx to see if it helps.
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks