Full Screen Display with VBA Excel
sonnygoal
Posted messages
7
Status
Membre
-
yacine kabyle -
yacine kabyle -
Hello everyone,
I have a little problem: I would like my Excel VBA macro to automatically open an Excel sheet in full screen and the issue is that I can't hide all the menus, row numbers, column numbers, etc...
I'm not sure if it's possible but if anyone has a tip, that would be nice.
Thanks in advance
I have a little problem: I would like my Excel VBA macro to automatically open an Excel sheet in full screen and the issue is that I can't hide all the menus, row numbers, column numbers, etc...
I'm not sure if it's possible but if anyone has a tip, that would be nice.
Thanks in advance
Configuration: Windows XP Internet Explorer 6.0
2 réponses
Re-good evening Sonnygoal,
Here is the continuation to hide headers, grids, tabs, scroll bars...
Tip: when you’re looking to write a macro, try the macro recorder, then grab the instructions that suit you (it’s super powerful)
Good luck
Here is the continuation to hide headers, grids, tabs, scroll bars...
' Hide gridlines ActiveWindow.DisplayGridlines = False ' Hide headings ActiveWindow.DisplayHeadings = False ' Hide scroll bars ActiveWindow.ActiveWindow.DisplayHorizontalScrollBar = False ActiveWindow.DisplayVerticalScrollBar = False ' Hide workbook tabs ActiveWindow.DisplayWorkbookTabs = False
Tip: when you’re looking to write a macro, try the macro recorder, then grab the instructions that suit you (it’s super powerful)
Good luck
'
' macro fullscrn
'
'
Application.ExecuteExcel4Macro "show.toolbar(""ribbon"",false)"
ActiveWorkbook.Save
End Sub