Solved

Excel not opening maximized

Posted on 2014-01-17
4
217 Views
Last Modified: 2014-01-17
Good morning,
The below code appears in "ThisWorkbook" under WorkbookOpen.

Application.WindowState = xlMaximized
ActiveWindow.WindowState = xlMaximized

Open in new window


It is not maximizing my workbook window when I open the workbook and I don't understand why?
0
Comment
Question by:Frank Freese
  • 2
4 Comments
 
LVL 11

Accepted Solution

by:
Angelp1ay earned 250 total points
ID: 39788791
I think the sub needs to be this (note the underscore):
Workbook_Open

Open in new window

0
 
LVL 18

Assisted Solution

by:Jerry Miller
Jerry Miller earned 250 total points
ID: 39788803
I believe that you may also need to save the file as a XLSM extension to enable macros in 2007.
0
 

Author Comment

by:Frank Freese
ID: 39788805
my mistake. it is workbook_sub. Sometimes I just want to %$#@!^^ at Microsoft. Now it is working. Go figure. BTW it is saved as xlsm and macros enable
0
 

Author Closing Comment

by:Frank Freese
ID: 39788812
thank folks.....I still want to yell a Microsoft.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question