userform Input & userform Progression BAR

JohnSeito

Active Member
Joined
Nov 19, 2007
Messages
390
Could someone show me an example of how to implement
a userform for userinput and also this same macro would show a progression bar.

Thanks
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
here is part of my code

how do you show a userform for user input, and then show a progression bar.

when I go to show the progression bar, it mess up my flow of the code
as with below

UserForm1.LabelProgress.Width = 0
UserForm1.show



Function TimeDate1(ByVal Fr As Date, ByVal Te As Date)
'FIX TIME & DATE
'====================================================================
'====================================================================
'====================================================================


Dim carryFe As Date
Dim carryTe As Date
carryFe = Fr
carryTe = Te


UserForm1.LabelProgress.Width = 0
UserForm1.show



Sheets("raw data").Range("a2:z100000").Clear
Sheets("Formatted").Range("a2:Q2000").Clear
Sheets("rwd").Range("a2:ao100000").Clear
'Sheets("LHD Report").Select

Sheets("LHD Report").Cells(1, 1).Clear
Sheets("LHD Report").Cells(1, 3).Clear
Sheets("LHD Report").Range("b9:b11").Clear
Sheets("LHD Report").Cells(2, 12).Clear

Sheets("LHD Report").Range("a21:a51").Clear
Sheets("LHD Report").Range("g21:g51").Clear
Sheets("LHD Report").Range("a59:a63").Clear
Sheets("LHD Report").Range("g59:g76").Clear
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,517
Members
448,968
Latest member
Ajax40

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