Specific workbook invisible Excel VBA
问题 I am writing a script in Excel VBA where the Workbook is supposed to open with a UserForm . I want only the UserForm to be visible and the excel window itself to be invisible. As such, I have written the following code for the opening of the Workbook : Private Sub Workbook_Open() 'Application launch Application.Visible = False 'Hide Excel window EnableResize = False Application.DisplayFullScreen = True 'Preset fullscreeen mode Application.CommandBars("Full Screen").Enabled = False 'Hide