Custom action needed for messagebox in VBA

selvamariappan

New Member
Joined
Feb 16, 2012
Messages
39
I have some code that runs with a number of calculations,
Intially I pop up a message box to the user to proceed.If they click "Ok" or "yes".Then i need to display a message box without any button stating that " Please wait "

Is there a way to automatically display the Msgbox and continue with the code execution and after a code moves to display the msgbox as "Successfully submitted".

Or is there a way to post a dialog box or msgbox without any "OK" button, that will just appear but not halt my code.

Thank you very much for any and all help.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Create a userform, add a label with whatever caption you want, then show it modelessly at the start of the code using:
Code:
userform1.show false
for example.
 
Upvote 0
Once again I got reply from you rorya, Thanks for your update.

Intially I have used the code as below.

userform1.show

so the user form shown and the background process, running continously and its not hided.Then your code helps me,

"userform1.show False"

What is the use of that False.

Thanks,
Selva.C
 
Upvote 0
False loads the form modelessly so that the calling code then simply carries on running.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
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