Bonjour. Inutile de réinstaller…
Pour revenir à un écran classique, souvent il faut juste appuyer sur échap. Mais au cas ou…
Voici les quatre macros pratiques pour le format de ton Ecran Excel.
Sub Eran_Normal()
' Affiche un Ecran Normal avec ascenceurs et outils
On Error Resume Next
Application.DisplayFullScreen = False
Application.DisplayFormulaBar = True
ActiveWindow.DisplayHeadings = True
ActiveWindow.DisplayHorizontalScrollBar = True
ActiveWindow.DisplayVerticalScrollBar = True
ActiveWindow.DisplayWorkbookTabs = True
ActiveWindow.DisplayGridlines = True
ActiveWindow.Zoom = 100
End Sub
Ensuite
Sub Ecran_Agrandi()
' Affiche un ecran normal dépourvu de quadrillage et d'ascenseurs
On Error Resume Next
Application.DisplayFormulaBar = True
Application.DisplayFullScreen = False
ActiveWindow.DisplayHeadings = True
ActiveWindow.DisplayHorizontalScrollBar = False
ActiveWindow.DisplayVerticalScrollBar = False
ActiveWindow.Zoom = 100
End Sub
La suivante:
Sub Plein_Ecran()
' Affiche le Plein Ecran mais avec ascenceurs et entêtes
On Error Resume Next
Application.DisplayFullScreen = True
ActiveWindow.DisplayHeadings = True
ActiveWindow.DisplayWorkbookTabs = True
ActiveWindow.DisplayGridlines = True
End Sub
Et enfin:
Sub Tres_Grand_Ecran()
' Affiche le très grand Ecran Presentation nu
On Error Resume Next
' MsgBox (" Pour quitter appuyez sur ECHAP!")
Application.Speech.Speak " Pour quitter appuyez sur ECHAP!"
ActiveWindow.DisplayHeadings = False
ActiveWindow.DisplayHorizontalScrollBar = False
ActiveWindow.DisplayVerticalScrollBar = False
ActiveWindow.DisplayWorkbookTabs = False
ActiveWindow.DisplayGridlines = False
Application.DisplayFullScreen = True
End Sub
Donc chacune te présente un écran différent… Ainsi tu peux jouer. Pour plus de convivialité, ajoutes celle-ci dans ta barre d'outils Cellule Ainsi d'un clic droit tu récupèrera ton ruban.
Sub Voir_Ruban()
' Affiche le Ruban et la barre d'Outil Accè?s rapide
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
Application.DisplayFullScreen = False
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
Application.DisplayFullScreen = False
End Sub
Personnellement, j'utilise, comme je l'explique dans mon livre la propriété
Application.Speech.Speak " coucou"
Celle ci fait parler Excel.
Amis si il y a d'autres utilisateurs dans le bureau, un simple
MsgBox (" Coucou!")
Est aussi efficace.
Cordialement