Waiting command button

AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
2,072
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Just wondering how others may get around this.
My form processes a pile of data, comparing various values.
If it finds a difference then display it and wait for the user to click a "Continue" button.
But I don't want a msgbox.

What else does the same job? Ideally just a button that waits to be pressed.
I've sort of accomplished it using a modal second Form with no caption bar and one command button.
But I get the Form outline as well as the button. It works but could look better.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
I have some convoluted ideas on how to do this with an extra visible:=false button on the form, a global variable, and a helper function... but it seems like way more effort than it's worth.

It sounds like your intent here is to make the user aware of all the times the macro came across a disconnect -- wouldn't it be easier to just keep track of those times and print them all at once to a final userform or worksheet once complete?
 
Upvote 0
That's true, it's a design/aesthetic thing open to change. It seemed a good idea but not worth a lot of effort.
The plan was to make changes on the fly, but it could all be done as you suggest.
I'll try it out and see which feels 'best'.
Thanks.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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