Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub listSheets()
Dim x as Worksheet Dim file1 As Workbook Set file1 = Workbooks("Other_Workbook.xls") For Each x In file1.Worksheets ActiveCell.Value = x.Name ActiveCell.Offset(1, 0).Activate Next x That should work as long as the other workbook is already open. Die_Another_Day |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
alt-tab toggle betw files/programs | Excel Discussion (Misc queries) | |||
how do I toggle between 2 open excel files and leave both open | Excel Discussion (Misc queries) | |||
How to change default Open/Files of Type to "Microsoft Excel Files | Excel Discussion (Misc queries) | |||
Can I toggle between files easily | Excel Discussion (Misc queries) | |||
toggle button or worksheet_activate causing form to open twice | Excel Programming |