Gurus,
I have a macro that uses an Application.InputBox. All works well, thanks to users of this forum, except when the user selects Cancel on the input box. I am looking for the code to exit the macro when the cancel button is selected.
Looking through the forum, I have added the BOLD lines but I just don't know enough about VB as to what to define the strButton to. Or even if I am doing this correctly.
Can someone guide me?
TIA,
Tim
![]()
Please Login or Register to view this content.
Bookmarks