Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's the problem:
Suppose a macro creates a certain number of worksheets (which varies from dataset to dataset). Further suppose that text labels (in the tabs) are created by the macro for each worksheet (that also vary from workbook to workbook). Now, I want the macro to go through the worksheets and pick out the ones that have particular text. Example: Macro creates 6 worksheets for this dataset: John - 1 John-2 Mary -1 Mary-2 Fred Debbie I want to find the John's. I envision a loop where it finds the first John (John - 1) and then executes the appropriate actions on this worksheet. It then finds the second John (John-2) and executes those same actions. I can do this, but I can't get it to loop through the worksheets and pick these particular worksheets. Anyone have any ideas on how to find these John's Jeff Miller |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lookup columns (varying qty), then find MIN | Excel Worksheet Functions | |||
Changing text case in entire database column from JOHN to John | Excel Discussion (Misc queries) | |||
How to find and replace blank space (x) in John Smithx in Excel? | Excel Discussion (Misc queries) | |||
how to format Doe,John to Doe, John (space after a comma) | Excel Worksheet Functions | |||
Looping Through Chart Labels | Excel Programming |