Maximize Excel

I

ianripping

When I open an excel document from a local webpage, the document open
up in a normal window, not maximized.

I tried inputing this code into the workbook module: -

Private Sub Workbook_Open()

Application.WindowState = xlMaximized
End Sub


But it was still opening in a normal window.
Am I doing anythign wrong
 
U

Ulrik Gustafsson

Hi

Try this instead in your Workbook_Open procedure:
ActiveWindow.WindowState = xlMaximized

The Excel document window will be maximized when you open the workbook. I
think this will do the trick.

HTH
/Ulrik
 

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