Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub Macro1()
' Sheets(Array("Sheet1", "Sheet3", "Sheet2")).Select End Sub How can I highlight the sheet4 & Sheet5 and the above command updates automatically?? Thxs |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Al,
Look at the SelectedSheets property in VBA help. Perhaps what you are looking for is: Workbooks("Book1.XLS").Windows(1).SelectedSheets --- Regards, Norman "al007" wrote in message oups.com... Sub Macro1() ' Sheets(Array("Sheet1", "Sheet3", "Sheet2")).Select End Sub How can I highlight the sheet4 & Sheet5 and the above command updates automatically?? Thxs |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select a variable range | Excel Worksheet Functions | |||
Use a Variable to select a range | Excel Discussion (Misc queries) | |||
worksheet select using variable | Excel Programming | |||
Select rows using a variable | Excel Programming | |||
Select workbook with variable name. | Excel Programming |