Progress Bar

Status
Not open for further replies.

rabso

New Member
Joined
Oct 21, 2010
Messages
36
Hello

I have a progress bar called Progressbar1. I would like to show the status of a loop as it takes a couple of minutes to run and I unsure how to do this. Can some one please help?

This is my code so far, thank you Richard Baker

Code:
Application.ScreenUpdating = False
 
Sheets("Summary").Select
Dim CurRow As Integer
CurRow = 1
    For Each x In Range("A" & CurRow, Range("A" & CurRow).End(xlDown))
    If x = "" Then Exit For
 
        'Proof Number Column B
        x.Offset(0, 1).Formula = "=VLOOKUP(A" & CurRow & ", AX!A:I, 7, 0)"
    CurRow = CurRow + 1
Next
 
Application.ScreenUpdating = true
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
The code you are showing doesn't indicate a progress bar. What if you add something to the Status Bar to tell you that you are processing and then on complete it clears the Status Bar

Simple sample shown here

<font face=Courier New><SPAN style="color:#00007F">Sub</SPAN> stat()<br>Application.StatusBar = "help me im falling over"<br><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br></FONT>
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top