Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

maximizing windows from VB

Status
Not open for further replies.

Kalechibki

Programmer
Aug 16, 2002
18
US
Hey

I'm trying to make the word application window (not the document) go to maximum size, but I've been unable to find a way how to do so. anyone know how to do it?

Brian
 
You see, it's Friday and I wore my moron outfit to the office today. I just told you how to "turn on" the Full Screen command. Skip that.
Try ....

ActiveWindow.WindowState = xlMaximized

...in your code.
 
That does the sheet, substitute 'Application' for ActiveWindow to make Excel itself maximize.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top