Can the VBA Multithreading Tool support Do While loops?

1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 4.83 out of 5)
Loading...
Go back to All Questions Login or Register
337 views
0

Hello there and thank you for the tool,

I am not an expert in VBA, but I was playing around with the Multithreading tool hoping to find a way to run two Do Loops at the same time without conflict. My main Sub has a Do loop that executes until a stop button is pressed and while that is running I want to be able to execute another Do loop that will attach an image onto the mouse cursor, again until I press the stop button. I tried modifying some of the examples that I saw on your blog, but I could not get to run the sub that does the image attachment correctly. Any idea as to how you would approach running two Do loops at the same time?

Simply the best place to learn VBA!