![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 26
|
I would like to have a macro automatically opens Excel in full view. I have create a macro to do that and then called it autoopen but that doesn't work. suggestions?
For a class project. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Cincinnati, Ohio, USA
Posts: 6,824
|
Post your code Eddie
Application.Windowstate = xlMaximized or something like that... Tom |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 26
|
here is the code I am using. The code you gave will maximize the the workbook when I assign it to a button, but it will not automatically run when I open the workbook and that is what I want.
Sub autoopen() ' ' autoopen Macro ' ' Application.DisplayFullScreen = True End Sub |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|