About disabling Excel window size-change ...

P

PS

Hi,

When Excel main window is maximazed,
by Double-clicking Application's Menubar(the upper blue part), the window
size is changed.
If possible, I want to disable the window-size change.
Is it possible?

Maybe this question is about win32api.
But I don't know where the win32api-newsgroup is.

Thanks in advance.
 
J

Jim Rech

If the workbook window is maximized it will enlarge when Excel is maximized
(I think that's what you're saying).

So you have to "restore" the workbook window, and protect it:

ActiveWindow.WindowState = xlNormal
ActiveWorkbook.Protect Windows:=True
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top