Macro Loading Animation

Orion19

Board Regular
Joined
Dec 18, 2017
Messages
56
Hi!

I have a macro that launches after a button is pressed. After the macro runs the relevant data is populated into a small range of cells. Right now it just kinda pops up after the macro runs.

I wanted to see if I can write a macro that continually generates a random number in the first cell while the macro is loading (almost like a macro loading screen). Then, I'd like to have the numbers populate one at a time through the range like a waterfall. I was thinking I could write a line in VBA to pause the macro for a very short period of time before the next number is generated but was hoping for suggestions on how to do this. Any thoughts are greatly appreciated? Thanks!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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