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

I just wrote a pretty cool macro (VBA project) but there is some screen
flashing going on and I want to just have the user see a message "Working "
and the mouse to be an hour glass during the process, which takes a few
seconds. How do I do this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Screen Flashing

Application.ScreenUpdating = False
your stuff
Application.ScreenUpdating = True


you will be surprised how fast your stuff will now run.
--
Gary''s Student - gsnu200733
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Screen Flashing

i use something like this. i create a form with a label on it.

then in the code:

application.screenupdating = false

With UserForm1
.Show vbModeless
.Caption = "Fresh Production Data Report"
.Label1 = "Creating Report .........Please Wait"
.BackColor = &H800000
.Label1.ForeColor = &HFFCC99
End With
DoEvents

'execute your code

Unload UserForm1
application.screenupdating = true

--


Gary


"Mike H." wrote in message
...
I just wrote a pretty cool macro (VBA project) but there is some screen
flashing going on and I want to just have the user see a message "Working "
and the mouse to be an hour glass during the process, which takes a few
seconds. How do I do this?



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 flashing teepee[_3_] Excel Discussion (Misc queries) 0 November 26th 08 12:20 AM
Eliminate Screen Flashing Josh Sale Excel Programming 4 August 2nd 06 11:30 PM
Screen flashing why? Chet Excel Discussion (Misc queries) 1 May 16th 06 08:25 PM
flashing screen Paul Excel Programming 2 March 9th 05 01:59 PM
flashing screen driving me bonkers! Deb Lang Excel Programming 1 October 30th 03 04:50 PM


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