Full screen on a single page
Solved
d_a_n
Posted messages
42
Status
Member
-
Maurice -
Maurice -
Hello,
How to open a single sheet in full screen when you're not good at VBA??
Thank you in advance for your help.
How to open a single sheet in full screen when you're not good at VBA??
Thank you in advance for your help.
4 answers
-
Hello,
code to put in a module
Sub normal_display()
Application.ScreenUpdating = False
Application.DisplayFullScreen = False
ActiveWindow.DisplayHeadings = True
Application.DisplayFormulaBar = True
ActiveWindow.DisplayGridlines = True
ActiveWindow.DisplayHorizontalScrollBar = True
ActiveWindow.DisplayVerticalScrollBar = True
ActiveWindow.DisplayWorkbookTabs = True
Application.WindowState = xlMaximized
End Sub
Sub full_screen_display()
Application.ScreenUpdating = False
Application.DisplayFullScreen = True
ActiveWindow.DisplayHeadings = False
Application.DisplayFormulaBar = False
'ActiveWindow.DisplayGridlines = False
ActiveWindow.DisplayHorizontalScrollBar = False
ActiveWindow.DisplayVerticalScrollBar = False
ActiveWindow.DisplayWorkbookTabs = False
Application.ScreenUpdating = True
End Sub-
-
Hello,
a way to do it:
code to put in the VBA of the sheet by defining the range Table
principle: if a cell outside the table is selected, activate cell A1
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Intersect(Target, Range("Tableau")) Is Nothing Then
Range("A1").Activate
End If
End Sub -
Great for the fact of freezing the table, but I realize that it's not the macro that activates full screen, but the fact that I close it in full screen, and therefore it opens in full screen. If I close it with the top of the sheet (home, insert, page layout... as well as the submenus; copy, paste, etc.), it opens with. Is this normal?
-
-
-
Hello
To block a sheet from any movement
Private Sub Worksheet_Activate() ScrollArea = "A1" End Sub
to be placed in the VBA of the sheet
Cheers
Maurice -
-