Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have the followign code ..... Private Sub Workbook_Open() Dim Sheet As Worksheet For Each Sheet In Worksheets If Sheet.Name < "waarschuwing" Then Sheet.Visible = xlSheetHidden End If Next Sheet Sheets("waarschuwing").Visible = xlSheetVeryHidden Set Sheet = Nothing end sub When the code is run, i get an error message: erro 1004 characteristic visible of class worksheet cannot be use any ideas? Pierre -- Message posted via http://www.officekb.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Warning upon closing sheet | Excel Worksheet Functions | |||
start application / macro warning problem | Excel Programming | |||
Problem with Macro/Protected Sheet | Excel Programming | |||
Don't show sheet switches when running macro | Excel Programming | |||
Empty ThisWorkbook module, but Macro warning problem | Excel Programming |