Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Good day to you all!
Im at the final stage of my report automation, and here's the new tricky part Here's the setup. I got about thirty tabs, and i need to perform a macro on only the ones that contains 06-07 in the name of the tab. Is there a way to tell excel if tab contain "06-07" then do "marco" Until there's no more tabs to do? Thanks Guys! Batty -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200705/1 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub testit()
For sh = 1 To Sheets.Count Sheets(sh).Activate x = ActiveSheet.Name If InStr(2, x, "06-07") Then MsgBox ("Yes") Else MsgBox ("No") End If Next sh End Sub -- Best wishes, Jim "Battykoda via OfficeKB.com" wrote: Good day to you all! Im at the final stage of my report automation, and here's the new tricky part Here's the setup. I got about thirty tabs, and i need to perform a macro on only the ones that contains 06-07 in the name of the tab. Is there a way to tell excel if tab contain "06-07" then do "marco" Until there's no more tabs to do? Thanks Guys! Batty -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200705/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I alphabetize the tabs on a spreadsheet with 25 tabs? | Excel Worksheet Functions | |||
sheet tabs is checked but I can't see my tabs | Excel Discussion (Misc queries) | |||
tabs are missing even though 'tools-options-view-sheet tabs' ok? | Excel Worksheet Functions | |||
hide tabs from view then lock tabs? | Excel Discussion (Misc queries) | |||
trouble filtering a list. Why isn't column filtering? | Excel Worksheet Functions |