G
Guest
MsgBox is very useful but is limited by the selection of buttons available.
In the context in which I am using it, ‘Retry’ and ‘Proceed’ would be the
ideal buttons to display, making ‘Retry’ and ‘Cancel’ look a distinctly odd
combination. Is there a way of changing the button captions? (I would be
happy to service ‘Proceed’ as vbCancel since the user would be unaware of the
stratagem.)
One possible alternative is to create a form with the necessary message text
and buttons of choice but the difficulty then is to pause the principal form
VBA while the button selection is being made. A common solution is to
transfer any subsequent code to the buttons on the second form, which can
thus be used to perform the required functions, according to the selection
made, including closure of the principal form. However, ‘Retry’ involves
rerunning the principal form code, making iteration from the secondary form
quite difficult.
Has anyone got any good ideas?
In the context in which I am using it, ‘Retry’ and ‘Proceed’ would be the
ideal buttons to display, making ‘Retry’ and ‘Cancel’ look a distinctly odd
combination. Is there a way of changing the button captions? (I would be
happy to service ‘Proceed’ as vbCancel since the user would be unaware of the
stratagem.)
One possible alternative is to create a form with the necessary message text
and buttons of choice but the difficulty then is to pause the principal form
VBA while the button selection is being made. A common solution is to
transfer any subsequent code to the buttons on the second form, which can
thus be used to perform the required functions, according to the selection
made, including closure of the principal form. However, ‘Retry’ involves
rerunning the principal form code, making iteration from the secondary form
quite difficult.
Has anyone got any good ideas?