Full Screen Display with VBA Excel
sonnygoal
Posted messages
7
Status
Member
-
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 answers
-
Good evening,
In your macro, add the following line:
Application.DisplayFullScreen = True
Hoping I have met your expectations. -
Re-good evening Sonnygoal,
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