Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Situation: Private Sub Workbook_Open() Application.ScreenUpdating = False 'KLEIN SCHERM Application.WindowState = xlNormal Application.Left = 196 Application.Top = 208.75 'UITZICHT EXCEL With ActiveWindow .DisplayGridlines = False .DisplayHeadings = False .DisplayOutline = False .DisplayZeros = False .DisplayHorizontalScrollBar = False .DisplayVerticalScrollBar = False .DisplayWorkbookTabs = False End With With Application .DisplayFormulaBar = False .DisplayStatusBar = False .DisplayCommentIndicator = 0 .ShowWindowsInTaskbar = False End With Problem: Before I close the workbook, I would like to set excel back to default (Maximized window) I've put in: Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.WindowState = xlMaximized End Sub But that did not work. Please advise. Regards, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
i want all windows in one excel frame (windows in taskbar) | Excel Discussion (Misc queries) | |||
cannot open exel from windows xp in windows vista and visa versa | New Users to Excel | |||
can windows vista edit shared document from windows xp | Excel Worksheet Functions | |||
Page breaks are different in Windows 2000 and Windows XP | Excel Discussion (Misc queries) | |||
Use Windows Script to run Windows Explorer Search? | Excel Programming |