Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Brian
 
Posts: n/a
Default Toolbars, help needed

I would like to have a workbook that opens in full screen, but only for this
particular workbook and not in other Excel workbooks.


  #2   Report Post  
Nick Hodge
 
Posts: n/a
Default

Brian

You could use the workbook_Open() and close() events as in the code below.
This would switch on full screen when opening and restore when closing. To
enter the code, right-click the excel icon at the top left of the workbook
and select 'View code...'. Then paste the code in resultant window, close
the VBE and save the workbook

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

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayFullScreen = False
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS

"Brian" wrote in message
...
I would like to have a workbook that opens in full screen, but only for
this particular workbook and not in other Excel workbooks.



  #3   Report Post  
Brian
 
Posts: n/a
Default

Thank you Nick Worked Great


"Nick Hodge" wrote in message
...
Brian

You could use the workbook_Open() and close() events as in the code below.
This would switch on full screen when opening and restore when closing.
To enter the code, right-click the excel icon at the top left of the
workbook and select 'View code...'. Then paste the code in resultant
window, close the VBE and save the workbook

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

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.DisplayFullScreen = False
End Sub

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS

"Brian" wrote in message
...
I would like to have a workbook that opens in full screen, but only for
this particular workbook and not in other Excel workbooks.





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
How to reset Excel 2000 toolbars to "factory defaults"? [email protected] Excel Discussion (Misc queries) 3 March 28th 05 10:39 PM
Saving Customized Toolbars in Excel 2003 MIKE MEDLIN Excel Discussion (Misc queries) 5 January 13th 05 02:03 AM
Customizing ToolBars MIKE MEDLIN Excel Discussion (Misc queries) 0 January 13th 05 12:11 AM
Excel 2002 custom toolbars fick Excel Discussion (Misc queries) 4 December 13th 04 09:51 PM
Cant add an icon to toolbars Rasoul Khoshravan Azar Excel Discussion (Misc queries) 1 November 28th 04 08:19 PM


All times are GMT +1. The time now is 12:13 PM.

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"