Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
job job is offline
external usenet poster
 
Posts: 65
Default displayfullscreen = false not working

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default displayfullscreen = false not working

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


  #3   Report Post  
Posted to microsoft.public.excel.programming
job job is offline
external usenet poster
 
Posts: 65
Default displayfullscreen = false not working

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?


"Ken Macksey" wrote in message
...
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




  #4   Report Post  
Posted to microsoft.public.excel.programming
job job is offline
external usenet poster
 
Posts: 65
Default displayfullscreen = false not working

I also failed to mention that I'm closing the sheet with code...not sure if
that would make a difference...
"Ken Macksey" wrote in message
...
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




  #5   Report Post  
Posted to microsoft.public.excel.programming
job job is offline
external usenet poster
 
Posts: 65
Default Ok possible work around

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?




"Ken Macksey" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best way to toggle between true and false in Excel? Hiall, My excel work involves a lot of toggling between true and false (booleantypes) ... and it's very repetitive... Is there a way to select a bunch ofcells, and press a key short-cu LunaMoon Excel Discussion (Misc queries) 9 July 29th 08 12:28 AM
Array not working correctly Returns FALSE on second part aaronm49 Excel Discussion (Misc queries) 1 February 11th 05 01:07 AM
True Or False, no matter what... it still displays the false statement rocky640[_2_] Excel Programming 2 May 13th 04 04:57 PM
DisplayStatusBar when DisplayFullScreen = TRUE mikeang Excel Programming 0 December 31st 03 05:05 PM


All times are GMT +1. The time now is 08:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"