Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Resetting Screen to Full

You need to set up a variable to hold the setting on startup:

sub MySub()

Dim isFullScreen as boolean
isFullScreen = Application.DisplayFullScreen

Application.DisplayFullScreen = True


'*******************
'CODE GOES HERE
'*******************

Application.DisplayFullScreen = isFullScreen

End Sub



P



"Phil Hageman" wrote in message
...
I have an Auto_Open() sub that sets screen size to full
with the following:

Application.DisplayFullScreen = True

When the user exits the workbook, how do I reset full
screen to False?

Thanks,
Phil



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Resetting Screen to Full

Ignore me, I'm bonkers!!

P



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
full screen Tree*Rat New Users to Excel 1 October 20th 08 09:26 AM
Full Screen Help and KB Shortcut Conan Kelly Setting up and Configuration of Excel 1 April 5th 06 09:54 PM
Opening in Full Screen. skrol New Users to Excel 4 September 22nd 05 09:37 AM
Resetting Screen to Full Ron de Bruin Excel Programming 1 November 5th 03 07:24 PM
Full Screen Mode Hatzipavlis Stratos Excel Programming 1 October 22nd 03 08:05 PM


All times are GMT +1. The time now is 01:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"