Full Screen view on my template

J

Juan

How can I get a certain template to open up with a Full Screen view eac
time that it opens. And yet maintain the regular view whenever I ope
Excel without that particular template? Hel
 
C

Charles Maxson

Juan

In VBA, add this code to the ThisWorkbook class of your template:


Private Sub Workbook_Activate()
Application.DisplayFullScreen = True
End Sub

Private Sub Workbook_Deactivate()
Application.DisplayFullScreen = False
End Sub
 
A

Adam Familia

Thank Charles for the codes!!
Charles Maxson said:
Juan

In VBA, add this code to the ThisWorkbook class of your template:


Private Sub Workbook_Activate()
Application.DisplayFullScreen = True
End Sub

Private Sub Workbook_Deactivate()
Application.DisplayFullScreen = False
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top