Waiting command button

AlexanderBB

Well-known Member
Joined
Jul 1, 2009
Messages
2,045
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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
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,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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