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

Hi EVeryone,

I have seen many posts within this group in regards to progress bars
and how to make them, but the issue I am having right now is that as
soon as the userform appears to tell me waht stage it's at in the
macro.... the macro stops until i close the userform.

my code has many for loops one after another and opens many other
workbooks for interaction... i'd like the users to get a note stating
what progress is done or where the are right now.

Any help on this is apprecieated

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default progress bar issues

Maybe you forgot 'DoEvents'.
Here's a sample:



Private Sub Button_GoProgressGo_Click()

Dim i As Integer

ProgressBar1.Min = 0
ProgressBar1.Max = 10000

For i = 0 To 10000
DoEvents
ProgressBar1.Value = i
Next i

End Sub



"Phil" schreef in bericht
ups.com...
Hi EVeryone,

I have seen many posts within this group in regards to progress bars
and how to make them, but the issue I am having right now is that as
soon as the userform appears to tell me waht stage it's at in the
macro.... the macro stops until i close the userform.

my code has many for loops one after another and opens many other
workbooks for interaction... i'd like the users to get a note stating
what progress is done or where the are right now.

Any help on this is apprecieated



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default progress bar issues

Show the form and call your code from the form activate event...

Private Sub UserForm_Activate
Call RunMyLoops
Call OpenOtherWorkbooks
Me.Hide
End Sub

The called subs will have to have code in them
to update the form; and yes use DoEvents.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Phil"
wrote in message
Hi EVeryone,
I have seen many posts within this group in regards to progress bars
and how to make them, but the issue I am having right now is that as
soon as the userform appears to tell me what stage it's at in the
macro.... the macro stops until i close the userform.

my code has many for loops one after another and opens many other
workbooks for interaction... i'd like the users to get a note stating
what progress is done or where the are right now.
Any help on this is appreciated

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
Progress Bar Jase Excel Discussion (Misc queries) 0 June 2nd 08 07:45 PM
Progress bar [email protected] Excel Discussion (Misc queries) 1 January 6th 07 01:49 PM
NEED Help - How to capture the Event's progress in Progress Bar Sriram Excel Programming 6 August 22nd 06 12:04 PM
using of progress bar JH Excel Programming 6 July 6th 05 02:32 PM
Progress Bar Jenny Excel Programming 5 October 13th 04 09:45 AM


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