Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Create a "running" message

Hi,

I'm working with Excel Visual Basic.

When activate the program the screen is "jumping"
due to the program action.
Its jump from one cell to another and to other worksheets
as well.

My Question:

If I have a loop
For I=1 to 100
Program
Next I

How can I freeze the screen and create a message
That will say "the program is in step "I" (The "I" from
the loop)
while the program is running.

I would like to say thank you very much for your help.
All your previous answers helped me a lot.

Thank you,

Haim.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 340
Default Create a "running" message

One solution is to use the following statement

Application.Screenupdating = False

at the top of your coe to stop screen flashing and updating.

If you want to display messages in the statusbar, you can do so via

Application.Statusbar =:"any text"

and to clear, set to false.

Other solutions are to display a worksheet prior to the Screenupdating =
false message and write text to it that says
"Working...." then do the screenupdating = false. Be sure to get read of
the temporary worksheet when you are done!

Robert Flanagan
Macro Systems
Delaware, U.S. 302-234-9857
http://www.add-ins.com
Productivity add-ins and downloadable books on VB macros for Excel

"Haim" wrote in message
...
Hi,

I'm working with Excel Visual Basic.

When activate the program the screen is "jumping"
due to the program action.
Its jump from one cell to another and to other worksheets
as well.

My Question:

If I have a loop
For I=1 to 100
Program
Next I

How can I freeze the screen and create a message
That will say "the program is in step "I" (The "I" from
the loop)
while the program is running.

I would like to say thank you very much for your help.
All your previous answers helped me a lot.

Thank you,

Haim.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Create a "running" message

Minor correction (remove colon to avoid compile error):

Application.StatusBar = "any text"

and

Application.StatusBar = False

In article ,
"Bob Flanagan" wrote:

If you want to display messages in the statusbar, you can do so via

Application.Statusbar =:"any text"

and to clear, set to false.

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
Create Pivot Table Data with Column "Sum" rather than "count" defa Johnny_99[_2_] Excel Discussion (Misc queries) 2 January 2nd 10 03:25 PM
How do I create an "outline summary" - please see message for deta jmcclain Excel Worksheet Functions 1 May 18th 06 10:40 PM
create links to check boxes marked "good" fair"and "bad" pjb Excel Worksheet Functions 3 April 20th 06 02:17 AM
"running..." message mike allen Excel Programming 8 December 22nd 03 09:22 PM
Message Window to tell user "Macro Running" keyt Excel Programming 2 October 4th 03 05:28 PM


All times are GMT +1. The time now is 03:45 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"