Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Stop Screen Updating

I have an Excel application with a bunch of menus and dialogs.

This app can also be invoked from another Acces app, or can be invoked in a
standalone mode.

In the app, I activate various sheets at different points to do stuff. Is
there a way I can stop the screen from refreshing? Or when launched from
Access, can I run it as a black box?

I tried application.screenupdating, but that does not do what I need.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Stop Screen Updating

Wierd that setting Application.Screenupdating doesn't work. However, you
could minimize the Excel application's window with Application.WindowState =
xlMinimized, and then put it back with Application.WindowState = xlMaximized
or Application.WindowState = xlNormal when everything is done.

--
J. Andrew Smith
Senior Systems Analyst
Standard & Poor''''s, NYC



"omsoft" wrote:

I have an Excel application with a bunch of menus and dialogs.

This app can also be invoked from another Acces app, or can be invoked in a
standalone mode.

In the app, I activate various sheets at different points to do stuff. Is
there a way I can stop the screen from refreshing? Or when launched from
Access, can I run it as a black box?

I tried application.screenupdating, but that does not do what I need.

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,533
Default Stop Screen Updating

Hi

Application.Screenupdating=False

Remeber to set it = True again later.

Regards,
Per

"omsoft" skrev i meddelelsen
...
I have an Excel application with a bunch of menus and dialogs.

This app can also be invoked from another Acces app, or can be invoked in
a
standalone mode.

In the app, I activate various sheets at different points to do stuff. Is
there a way I can stop the screen from refreshing? Or when launched from
Access, can I run it as a black box?

I tried application.screenupdating, but that does not do what I need.

Thanks.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Stop Screen Updating

It seems that each time I call a function to do something,
application.screenupdating is reset. So I have to go into every function and
set it to false at the start and true at the end. I put it in many places and
there are a few still left where it does not work.

But when I launch it from the Access app, I was hoping to run it like a
black box. So the user does not know what is happening.

Thanks.

"Per Jessen" wrote:

Hi

Application.Screenupdating=False

Remeber to set it = True again later.

Regards,
Per

"omsoft" skrev i meddelelsen
...
I have an Excel application with a bunch of menus and dialogs.

This app can also be invoked from another Acces app, or can be invoked in
a
standalone mode.

In the app, I activate various sheets at different points to do stuff. Is
there a way I can stop the screen from refreshing? Or when launched from
Access, can I run it as a black box?

I tried application.screenupdating, but that does not do what I need.

Thanks.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,069
Default Stop Screen Updating

You can hide Excel with this statement:
Application.Visible = False

You can still show your menus and dialogs, even though the rest of Excel is
hidden.

To make Excel visible again:
Application.Visible = True

Hope this helps,

Hutch

"omsoft" wrote:

It seems that each time I call a function to do something,
application.screenupdating is reset. So I have to go into every function and
set it to false at the start and true at the end. I put it in many places and
there are a few still left where it does not work.

But when I launch it from the Access app, I was hoping to run it like a
black box. So the user does not know what is happening.

Thanks.

"Per Jessen" wrote:

Hi

Application.Screenupdating=False

Remeber to set it = True again later.

Regards,
Per

"omsoft" skrev i meddelelsen
...
I have an Excel application with a bunch of menus and dialogs.

This app can also be invoked from another Acces app, or can be invoked in
a
standalone mode.

In the app, I activate various sheets at different points to do stuff. Is
there a way I can stop the screen from refreshing? Or when launched from
Access, can I run it as a black box?

I tried application.screenupdating, but that does not do what I need.

Thanks.





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
Screen updating StevenS Excel Programming 8 October 15th 05 04:37 PM
Screen Updating Raman325[_9_] Excel Programming 2 June 30th 05 08:45 PM
screen updating Josie Excel Programming 4 September 29th 04 01:45 PM
Screen updating Keith[_11_] Excel Programming 2 June 2nd 04 01:10 PM
Screen updating Stratuser Excel Programming 0 April 16th 04 05:20 PM


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

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

About Us

"It's about Microsoft Excel"