Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to write a routine to select all sheets that have (1) at the end
of the sheet name. This is what I have so far, can anyone help? Thanks Sub Select_1() Dim SelectedSheets As String Dim ws As Worksheet For Each ws In ActiveWorkbook.Worksheets If ws.Name Like "*(1)" Then SelectedSheets = SelectedSheets + ", " + ws.Name End If Next ws Sheets(SelectedSheets).Select End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automatically select read-only | Excel Discussion (Misc queries) | |||
select listbox item automatically | Excel Programming | |||
Need Way to Automatically Select Data | Excel Worksheet Functions | |||
Need Way to Automatically Select Data | Excel Discussion (Misc queries) | |||
automatically select last value in a column | Excel Worksheet Functions |