Macro Speed (Userform vs Msgbox)

DHogg

New Member
Joined
Jan 15, 2013
Messages
28
I have a macro with a msgbox that pops up when a button is clicked. There are about 10 of these which can contain a lot of text. This is making the workbook slow to open, and process some of the other macros (which were fine before I added the msgbox buttons)

My question: Would it be any faster if i created userforms with the text in them instead of using a msgbox?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
I would think so if.... You could combine multiple msgbox prompts into a single UserForm and get any needed user input from one UserForm instead of 10. They could just fill out the one userform and the macro has all the information it needs.
 
Upvote 0
Well, there is no actual input into the userform. It is just a pop up.

However, they do need to be separate as they relate to different information. I have a button next to the criteria so the user can reference when required
 
Upvote 0

Forum statistics

Threads
1,206,921
Messages
6,075,586
Members
446,147
Latest member
homedecortips

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