Good Morning All,
I have a "Simple" problem that I'm struggling to solve.
My code loops through multiple txt files in a specific fold and converts them to excel files.
I'm developing a piece of code to show the user the Progress of conversion of each file. What do I need to change to make it count files opened (As part of the percentage progress)?
UserForm1.Bar.Width = BarWidth
UserForm1.Text.Caption = ProgressPercentage & "% Complete"
I have a "Simple" problem that I'm struggling to solve.
My code loops through multiple txt files in a specific fold and converts them to excel files.
I'm developing a piece of code to show the user the Progress of conversion of each file. What do I need to change to make it count files opened (As part of the percentage progress)?
Code:
'Calculate Progress
CurrentProgress = xlOpenXMLWorkbook
BarWidth = UserForm1.Progress.Width * CurrentProgress
ProgressPercentage = Round(CurrentProgress * 100, 0)
UserForm1.Bar.Width = BarWidth
UserForm1.Text.Caption = ProgressPercentage & "% Complete"
UserForm1.Bar.Width = BarWidth
UserForm1.Text.Caption = ProgressPercentage & "% Complete"