Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi All,
I have a book with many sheets. The sheets contain two types of data. The worksheet names contain either an 'A' or a 'B', e.g. 20210A.txt or 20210B.txt Is it possible to have a macro that will start at the first worksheet, and do the following: Does worksheet name contain 'A'? If yes then run macro1. If no, then does name contain 'B'? If yes run macro2. Go to next worksheet. End when no more sheets. The macros are to plot charts of the data on that sheet, but as the data on A and B sheets are for different graphs they need different macros. Any help much appreciated. Cheers, Dan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add a Sheet From a Previous Sheet Macro | Excel Worksheet Functions | |||
HELP!! Unhide Sheet with Macro and focus on other sheet | Excel Discussion (Misc queries) | |||
use macro button to run macro in protected sheet | Excel Discussion (Misc queries) | |||
2 questions, copying data from sheet to sheet and assigning macro | Excel Worksheet Functions | |||
Macro, select Sheet "Number", NOT Sheet Name | Excel Worksheet Functions |