Solarion
Honorary Master
- Joined
- Nov 14, 2012
- Messages
- 21,886
I have this sort of structure
SUB MAIN ()
Sub PullData1()
Sub PullData2()
Sub PullData3()
END SUB()
Each Sub pulls from the DB and dumps it into a new section of a spreadsheet worksheet. The problem is the program is hanging as the overall process takes about 30 seconds (lots of data).
What I want to achieve is in between each sub, or inside each sub, I want to update a progress bar.
There are so many different types of threading and background worker examples on the net that I've become bogged down and confused with what I actually need.
Any advice would be greatly appreciated.
SUB MAIN ()
Sub PullData1()
Sub PullData2()
Sub PullData3()
END SUB()
Each Sub pulls from the DB and dumps it into a new section of a spreadsheet worksheet. The problem is the program is hanging as the overall process takes about 30 seconds (lots of data).
What I want to achieve is in between each sub, or inside each sub, I want to update a progress bar.
There are so many different types of threading and background worker examples on the net that I've become bogged down and confused with what I actually need.
Any advice would be greatly appreciated.