Hello,
Here is the story:
I am trying to create a progress bar that it's max is the number of code lines in the macro's module-
This will return how many lines of code I have, thus:
Now, what I am trying to do is something like this, which will be running along side of the module...
Any ideas???
Thank you in advance guys
Here is the story:
I am trying to create a progress bar that it's max is the number of code lines in the macro's module-
Code:
C = ActiveWorkbook.VBProject.VBComponents("macro1").CodeModule.ProcCountLines("module", vbext_pk_Proc)
This will return how many lines of code I have, thus:
Code:
Userform1.ProgressBar.Max = C
Now, what I am trying to do is something like this, which will be running along side of the module...
Code:
UserForm1.ProgressBar.value = CURRENT RUNNING LINE NUMBER
Any ideas???
Thank you in advance guys