Hello everyone,
Can anyone help me with the code to maximize a workbook that is already open, but minimized. I need to execute this code from Access. I plan on using a cmdButton.
Thank you,
- Justin
Hello everyone,
Can anyone help me with the code to maximize a workbook that is already open, but minimized. I need to execute this code from Access. I plan on using a cmdButton.
Thank you,
- Justin
![]()
Dim xlApp As Excel.Application Set xlApp = GetObject(, "Excel.Application") xlApp.WindowState = xlMaximized
Surround your VBA code with CODE tags e.g.;
[CODE]your VBA code here[/CODE]
The # button in the forum editor will apply CODE tags around your selected text.
Awesome Thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks