You can return a value from the Messagebox function and assign it to a variable.
tReturn=Msgbox( "Close the Application",vbRetryCancel,"Application Error!")
This return value for an application error returns 4 for retry and 2 for cancel. vbYesNo returns 4 as a return value.
tReturn=Msgbox( "Close the Application",vbRetryCancel,"Application Error!")
This return value for an application error returns 4 for retry and 2 for cancel. vbYesNo returns 4 as a return value.
No comments:
Post a Comment