Last active
September 23, 2022 13:11
-
-
Save natanael-b/ce19afe1b03af7ac3965722cf1550749 to your computer and use it in GitHub Desktop.
Deixa o Excel sem a Ribbon, Statusbar, Lista de planilhas, Barra de fórmulas e cabeçalhos de de linhas e colunas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub Workbook_Open() | |
ActiveWindow.Caption = "" | |
Application.Caption = "Título da janela" | |
Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",False)" | |
Application.DisplayFormulaBar = False | |
Application.DisplayStatusBar = False | |
ActiveWindow.DisplayWorkbookTabs = False | |
ActiveWindow.DisplayHeadings = False | |
' Dimensões da janela | |
ActiveWindow.Height = 600 | |
ActiveWindow.Width = 800 | |
' Desativa as barras de rolagem | |
ActiveWindow.DisplayHorizontalScrollBar = False | |
ActiveWindow.DisplayVerticalScrollBar = False | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment