Raul_Rodriguez
New Member
- Joined
- Aug 13, 2018
- Messages
- 2
So, I have a very simple code:
It works fine in Excel for windows, however, in Excel VBA for Mac when user selects Disable macros, the hidden sheet is displayed. Is there anything else I should account for in a Mac ?
Your help is greatly appreciated
RR
Code:
Private Sub Worrkbook_Open()
Application.screenupdating=false
Application.DisplayWarnings = false
Application.Thisworkbook.Worksheets("Sheet1").visible=xlSheetVeryHidden
End Sub
Private Sub Workbook_Close()
Application.screenupdating=True
Application.DisplayWarnings = Ture
End Sub
Your help is greatly appreciated
RR