Progress Bar

  • Thread starter Thread starter swestwood
  • Start date Start date
S

swestwood

I have some code that loops through a worksheet which can vary i
length.

Please see below fo code

Application.ScreenUpdating = False
Range("B1").Select
Do
ActiveCell.FormulaR1C1 = _

"=IF(ISNA(VLOOKUP(RC[2],Flagged_Orders!R2C[1]:R50C[4],4,FALSE)),"""",VLOOKUP(RC[2],Flagged_Orders!R2C[1]:R50C[4],4,FALSE))"
ActiveCell.Offset(1, 0).Select
Loop While ActiveCell.Offset(0, 2).Value <> ""

Range("C1").Select
Do
ActiveCell.FormulaR1C1 = _

"=IF(ISNA(VLOOKUP(RC[1],Dupl_Check!R5C[27]:R3863C[28],2,FALSE)),"""",VLOOKUP(RC[1],Dupl_Check!R5C[27]:R3863C[28],2,FALSE))"
ActiveCell.Offset(1, 0).Select

Loop While ActiveCell.Offset(0, 1).Value <> ""

MsgBox "Task Complete thankyou for you Patience", vbInformation
"Excel Programming"

I want to create a progess bar that will tell the user how complete th
macro is in percentage.

At the moment I have a UserForm That just says Processing Pleas
Wait..

Any help would be gratefully received.


Simo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Data samples 3
Do..Loop in multi sheets 7
nested if vba problem 3
VLOOKUP 4
eliminate N/A error when using Vlookup 1
Configure macro to run on all sheets Excel 2k7 9
VLOOKUP 8
VLOOUP 1

Back
Top