Waiting command button


Well-known Member
Jul 1, 2009
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.

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.


Active Member
Dec 3, 2009
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?


Well-known Member
Jul 1, 2009
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'.

Watch MrExcel Video

Forum statistics

Latest member

This Week's Hot Topics

  • Finding issue in If elseif else with For each Loop
    Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
  • MsgBox Error
    Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
    My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
  • Show numbers nearly the same
    Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...
  • Please i need your help to create formula
    I need a formula in cell B8 to do this >>if b1=1 then multiply ( cell b8) by 10% ,if b1=2 multiply by 20%,if=3 multiply by 30%. Thank you in...
  • Got error while adding column and filter
    Got error while adding column and filter In column Z has some like "Success" and "Error". I want to add column in AA if the Z cell value is...