stillwillyboy
Technical User
Unless there is a Min and Max button that I can add to a toolbar, I am wanting to be able to write macros to handle these. I have:
Sub MinimizeWindow()
Application.WindowState = xlMinimized
End Sub
Sub MaximizeWindow()
Application.WindowState = xlMaximized
End Sub
But neither works. I get the "Object Doesn't support property or method" error message. Is the code different for Excel and Outlook.
Thanks,
Bill
Sub MinimizeWindow()
Application.WindowState = xlMinimized
End Sub
Sub MaximizeWindow()
Application.WindowState = xlMaximized
End Sub
But neither works. I get the "Object Doesn't support property or method" error message. Is the code different for Excel and Outlook.
Thanks,
Bill