Macro working behind a 'splash screen'

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
hi!
if your 'splash screen' is a user form then try calling your
macro in the on active event of your form. just dont forget to call
doevents once in a while in your macro to update your splash scree.
I think this will do the trick just like the progress bar!
 
Upvote 0
I can get this going but only the outline of my userform (which has a label box on it) appears while the macro in the background is running. Any ideas ?

Steve
 
Upvote 0
hi!
have you tried putting
Doevents
In several parts of your code?
This will update your userform.
example
sub macro1()
for i=1 to 100000
for j=1 to 10000
for k=1 to 100
z=k*rnd()
next k
doevents
next j
next i
With out the doevents your exel will look like hanging up.
but wiht that line, it will be updated.
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,425
Members
448,961
Latest member
nzskater

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