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


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

--
swestwoo
-----------------------------------------------------------------------
swestwood's Profile: http://www.excelforum.com/member.php...fo&userid=3132
View this thread: http://www.excelforum.com/showthread.php?threadid=51009

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Progress Bar

Hi swestwood

See
http://www.j-walk.com/ss/excel/tips/tip34.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl


"swestwood" wrote in message
...

I have some code that loops through a worksheet which can vary in
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 the
macro is in percentage.

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

Any help would be gratefully received.


Simon


--
swestwood
------------------------------------------------------------------------
swestwood's Profile: http://www.excelforum.com/member.php...o&userid=31323
View this thread: http://www.excelforum.com/showthread...hreadid=510093



  #3   Report Post  
Posted to microsoft.public.excel.programming
ben ben is offline
external usenet poster
 
Posts: 232
Default Progress Bar

see the following link


http://www.cpearson.com/excel/Progress.htm

--
When you lose your mind, you free your life.


"swestwood" wrote:


I have some code that loops through a worksheet which can vary in
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 the
macro is in percentage.

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

Any help would be gratefully received.


Simon


--
swestwood
------------------------------------------------------------------------
swestwood's Profile: http://www.excelforum.com/member.php...o&userid=31323
View this thread: http://www.excelforum.com/showthread...hreadid=510093


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 leerem Excel Discussion (Misc queries) 2 August 13th 08 05:16 PM
Progress Bar Jase Excel Discussion (Misc queries) 0 June 2nd 08 07:45 PM
Progress Bar John Excel Programming 21 July 8th 05 05:45 PM
Progress bar in VBE Scott P Excel Programming 5 June 14th 04 06:27 PM
Progress Bar Syed Zeeshan Haider[_7_] Excel Programming 2 May 21st 04 01:33 PM


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