Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Brad wrote: I have a worksheet that I want to hide all the tabs other than "Policy information" What is wrong with the below code. The macro doesn't seem to recognize the line If sheet.Name < "Policy information" Then correctly Sub visible_sheets() Dim sheet As Worksheet For Each sheet In Worksheets If sheet.Name < "Policy information" Then Sheets.Visible = False End If Next End Sub Get rid of that s.. Sheet.Visible = False NOT Sheets.Visible = False Ken Johnson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro recorded... tabs & file names changed, macro hangs | Excel Worksheet Functions | |||
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort | Excel Worksheet Functions | |||
UDF's Problems; Is my Fundamentals Skewed | Excel Programming | |||
Windows File Dialog box problem from "Office 2000 VBA Fundamentals | Excel Programming | |||
Start Macro / Stop Macro / Restart Macro | Excel Programming |