I have downloaded the code from http://j-walk.com/ss/excel/tips/tip34.htm
I have created the userform or the progress bar, but am having a difficult time inderstanding where the codes go.
in my case I have a userform("reports") where users use checkboxes to determine the type of report they want to create. and then click the commandbutton1("Create") that, depending on which check boxes are true, runs other modules.
what I have done is have commandbutton1_click have ProgressBar.show instead of depending on which check boxes are true. and the code I use now in commandbutton1_click replace "call main" in the code below.
below would just be what ever module the userform_activate runs from above code.
and this should be at the at the end of ever module that could be ran from the userform_activate
but I can't seem to get it right. Any ideas?
Bookmarks