Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Maximise My Excel Window on startup?

Hi folks,

I want to put code into my AutoOpen macro to maximise my workbooks excel
window. If someone could help me please I'd appreciate it?

PS: I have a feeling it ends with = xlmaximise....but thats just a guess...

PPS: My old username used to be 'dim' but for some reason I couldn't post so
I had to set up this new account...whats going on with the server? :-(


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Maximise My Excel Window on startup?

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

--
Gary''s Student - gsnu200770
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Maximise My Excel Window on startup?

FANTASTIC! :-) That was quick. thanks Gary's student. ;-)

"Gary''s Student" wrote:

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

--
Gary''s Student - gsnu200770

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Maximise My Excel Window on startup?

In case you didn't want to lose your status bar, tool bars, etc. the other
one is:

Application.WindowState = xlMaximized

That does the same as clicking the screen icon at the tip right.

"dimm" wrote:

FANTASTIC! :-) That was quick. thanks Gary's student. ;-)

"Gary''s Student" wrote:

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

--
Gary''s Student - gsnu200770

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
Automatically startup excel 2007 in a new instance/window? dbowe Setting up and Configuration of Excel 0 June 15th 09 11:15 AM
Excel window - keyboard shortcut for maximise Madiya Excel Discussion (Misc queries) 2 May 25th 09 06:50 AM
Disable Window Minimize/Maximise/Resize Maver1ck666 Excel Programming 0 December 4th 07 11:59 AM
Intermittent startup error -- inverted worksheet window in Excel 2 AceWriter01 Excel Discussion (Misc queries) 0 September 14th 07 04:42 PM
Excel startup window vanderdoes Excel Discussion (Misc queries) 2 May 15th 06 05:27 PM


All times are GMT +1. The time now is 08:29 AM.

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

About Us

"It's about Microsoft Excel"