displayfullscreen = false not working

J

job

I'm using code to Application.DisplayFullScreen = True on the open event of
the workbook. In the beforeclose event I have the
Application.DisplayFullScreen = False yet it does not work. Any ideas?

cheers,

Job
 
K

Ken Macksey

Worked fine for me when I tried it with excel 2002. If you are opening the
same workbook, it will open fullscreen because of the code in workbook_open.

HTH

Ken
 
J

job

Ken,

When I open it is just fine, it is on the beforeclose event that it is not
working. If I put two buttons on a sheet, one that displays full screen and
one that sets it back to false it works fine. It simply doesn't work when I
have it associated with the beforeclose workbook event. Is there some
little trick I'm missing?
 
J

job

I also failed to mention that I'm closing the sheet with code...not sure if
that would make a difference...
 
J

job

If from the menu on the close button I use
me.hide
Application.SendKeys("%fc")
this will now disable the full screen. If I use the code from the button

ActiveWorkbook.Close SaveChanges:=False it doesn't disable...

does anyone know with the send keys how to savechanges:=false?
 

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