Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Help.
I have a Macro that takes data from a Excel file which is saved automaticly daily to the same location, however the sheet name changes every time. Is there a way to make the macro select that sheet regardless of the name of the sheet?? thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If it is the first sheet, you can refer is as index value 1
Worksheets(1).Activate if the last sheet worksheets(worksheets.count).Activate -- Regards, Tom Ogilvy "Andym" wrote in message ... Help. I have a Macro that takes data from a Excel file which is saved automaticly daily to the same location, however the sheet name changes every time. Is there a way to make the macro select that sheet regardless of the name of the sheet?? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
changing sheet size | New Users to Excel | |||
Changing the name of a sheet | Excel Discussion (Misc queries) | |||
changing tab from another sheet cell | Excel Worksheet Functions | |||
Protect from changing sheet name | Excel Discussion (Misc queries) | |||
changing sheet names | Excel Programming |