Solved

Excel not opening maximized

Posted on 2014-01-17
4
214 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thank folks.....I still want to yell a Microsoft.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now