Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activate previous Workbook
I've been looking in here, and can't find what I'm looking for.
So..... A macro within a workbook Original List 4-20-07.xls, will open up anothe workbook, Second List.xls. So, both will be opened with Second List.xls being active. What I'm looking for is the command to switch back and activate Original 4-20-07.xls On the surface, it looks easy, but that workbook name changes each day. So the macro will have to account for the name change each day. Isn't there a simple Previous command to switch it back to Original *.xls ? I tried the wildcard, but it didn't work. Thanks, J.O. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activate previous Workbook
Hi J,
Try : ThisWorkbook.Activate --- Regards, Norman "excelnut1954" wrote in message ps.com... I've been looking in here, and can't find what I'm looking for. So..... A macro within a workbook Original List 4-20-07.xls, will open up anothe workbook, Second List.xls. So, both will be opened with Second List.xls being active. What I'm looking for is the command to switch back and activate Original 4-20-07.xls On the surface, it looks easy, but that workbook name changes each day. So the macro will have to account for the name change each day. Isn't there a simple Previous command to switch it back to Original *.xls ? I tried the wildcard, but it didn't work. Thanks, J.O. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Activate previous Workbook
On Apr 20, 1:56 pm, "Norman Jones"
wrote: Hi J, Try : ThisWorkbook.Activate --- Regards, Norman "excelnut1954" wrote in message ps.com... I've been looking in here, and can't find what I'm looking for. So..... A macro within a workbook Original List 4-20-07.xls, will open up anothe workbook, Second List.xls. So, both will be opened with Second List.xls being active. What I'm looking for is the command to switch back and activate Original 4-20-07.xls On the surface, it looks easy, but that workbook name changes each day. So the macro will have to account for the name change each day. Isn't there a simple Previous command to switch it back to Original *.xls ? I tried the wildcard, but it didn't work. Thanks, J.O.- Hide quoted text - - Show quoted text - Thanks, Norman. Too easy. I'm not going to figure anything out that's too easy. Thanks again. J.O. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how to Activate the previous Open, workbook..? | Excel Programming | |||
how would activate the previous sheet in macro | Excel Discussion (Misc queries) | |||
Workbook.Activate / Window.Activate problem | Excel Programming | |||
Activate Previous worksheet after adding a new worksheet | Excel Programming | |||
Workbook.activate | Excel Discussion (Misc queries) |