Msgbox constants
A vbYesNoCancel messagebox has a value of 3. But what does this value represent, just that the button was pressed? Because that’s what I’m finding out. I would however like to get my hands on the value that indicates WHICH button was pressed, YES, NO or CANCEL.
I thought message box return values 6, 7 and 2 were what was returned when the appropriate button was pressed on the vbYesNoCancel button, obviously that isn’t the case though. Please advise.
A vbYesNoCancel messagebox has a value of 3. But what does this value represent, just that the button was pressed? Because that’s what I’m finding out. I would however like to get my hands on the value that indicates WHICH button was pressed, YES, NO or CANCEL.
I thought message box return values 6, 7 and 2 were what was returned when the appropriate button was pressed on the vbYesNoCancel button, obviously that isn’t the case though. Please advise.