multiple user forms

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hello guys,
I have a code which runs for around more or less 10 minutes to get the result depending on the data. I want to use user form to display a progress bar Extracting.. and show the percentage in the bar as 10, 20, ,30...... With one user form it is not possible I hope. So, is it possible to create multiple user forms and enter user form1.show Do Events, user form2..show Do Events, etc., at different lines in the code and get the display till 100 %. ?
 
Last edited:
Wow!!💜 Just one minute for 1000 rows. Testing for 9000 rows.... I don't think I will need a progress bar after all.😜
 
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Oops.. I forgot to change the range in the CopyGSTIN code. Changed to 10000. Can you please help me to edit the code by editing the range to unlimited.? That part of the code is a recorded macro.
 
Upvote 0
Rich (BB code):
Add2 Key:=Range( _
        "B2:B10000"), SortOn:=xlSortOnValues, Order:=xlAscending, DataOption:= _
        xlSortNormal
    With ActiveWorkbook.Worksheets("GSTIN_to_Verify").Sort
        .SetRange Range("A1:B10000")
Should I remove the 2 from Add2 to make it work in older versions of excel ??
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,742
Members
448,989
Latest member
mariah3

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