I have a userform with ok and cancel buttons as usual for the OK button I would like to put a msgbox in after macro1 saying "training successfully updated" and closes userform and if Cancel is pressed msgbox "goodbye" and closes userform.
Where do input the code???
I have tried it but it doesn't work if I press Cancel it's pops up with both msgbox messages "goodbye" and "training successfully updated"
Anyone help please
Where do input the code???
I have tried it but it doesn't work if I press Cancel it's pops up with both msgbox messages "goodbye" and "training successfully updated"
Anyone help please