VBA Program Flow.

Blackbirdx61

New Member
Joined
May 10, 2010
Messages
4
Hi,
I'm using an excel spread sheet to calculate possible bandwitdh values at work. NP there the formula works fine, but while the sub routine is running it locks out the computer.

I know there is a VBA Statement I can include in the Routine to release the focus temorarily so the computer would be able to check for other program events, but I've only used it once before, I cant remember it or find it online, or in my notes. :oops:

If anyone happens to know the Answer ... Its MUCH appreciated.

BB.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
I think DoEvents is what you are after.
 
Upvote 0
Yes,
Thats it thankyou very much.

Oh BTW, as a long time reader, first time poster. Let me thank you all for all the help and solutions I have found on this website over the last few years. Its an invaluable resource. Blessings, BB.
 
Upvote 0

Forum statistics

Threads
1,214,659
Messages
6,120,786
Members
448,992
Latest member
prabhuk279

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top