Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
wildcards in tab. names
while searching for "wildcards in tab. names" i found this code by J.E.
McGimpsey For Each Sheet In Opened.Sheets If Sheet.Name Like "Scales*" Then MsgBox Sheet.Name End If Next Sheet ofcourse I give dim sheet as worksheet but the term <opened is also perhaps to be defined. seeking for some more clarificationl thanks regards. mine excel 2000 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
wildcards in tab. names
The Sheets property returns a collection of Worksheets for the supplied
object. Opened will be either the Application object or a Workbook object - more likely to be a Workbook object in this case. You could just replace the word Opened with ActiveWorkbook -- Rob van Gelder - http://www.vangelder.co.nz/excel "R.VENKATARAMAN" &&& wrote in message ... while searching for "wildcards in tab. names" i found this code by J.E. McGimpsey For Each Sheet In Opened.Sheets If Sheet.Name Like "Scales*" Then MsgBox Sheet.Name End If Next Sheet ofcourse I give dim sheet as worksheet but the term <opened is also perhaps to be defined. seeking for some more clarificationl thanks regards. mine excel 2000 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
wildcards in tab. names
thank ;you Mr. gelder.
Rob van Gelder wrote in message ... The Sheets property returns a collection of Worksheets for the supplied object. Opened will be either the Application object or a Workbook object - more likely to be a Workbook object in this case. You could just replace the word Opened with ActiveWorkbook -- Rob van Gelder - http://www.vangelder.co.nz/excel "R.VENKATARAMAN" &&& wrote in message ... while searching for "wildcards in tab. names" i found this code by J.E. McGimpsey For Each Sheet In Opened.Sheets If Sheet.Name Like "Scales*" Then MsgBox Sheet.Name End If Next Sheet ofcourse I give dim sheet as worksheet but the term <opened is also perhaps to be defined. seeking for some more clarificationl thanks regards. mine excel 2000 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Wildcards in RTD | Excel Discussion (Misc queries) | |||
Use wildcards | Excel Discussion (Misc queries) | |||
wildcards in vba | Excel Discussion (Misc queries) | |||
VBA Wildcards - HELP! | Charts and Charting in Excel | |||
Wildcards | Excel Programming |