mmetzinger
Board Regular
- Joined
- Dec 30, 2010
- Messages
- 61
Ok, so I am looking to do a very simple progress bar and need some help with the code. I am still learning VBA and can't quite figure out this one. What I am looking for is something like this:
Sub MyMacro()
Create a progress bar window with the indicator at 0
Run the first part of my macro
After this finishes have it do some kindof simple operation to change the progress bar to 10%
Repeat this process until the macro finishes
end sub
The macro I have is about nine pages worth of code and it really doesn't have any shared events to base the operation off of. That is why I just want ot be able to set a line of code that says like:
Window.progressbar.size = 10 (or something like this)
Any help? O, and I am using Office 2010 on a Win 7 64bit Quad Core machine.
Sub MyMacro()
Create a progress bar window with the indicator at 0
Run the first part of my macro
After this finishes have it do some kindof simple operation to change the progress bar to 10%
Repeat this process until the macro finishes
end sub
The macro I have is about nine pages worth of code and it really doesn't have any shared events to base the operation off of. That is why I just want ot be able to set a line of code that says like:
Window.progressbar.size = 10 (or something like this)
Any help? O, and I am using Office 2010 on a Win 7 64bit Quad Core machine.