J Jamie Oct 8, 2003 #1 Is it possible to display a warning message before running a macro with a command button?
J Jan Karel Pieterse Oct 8, 2003 #2 Hi, Include this line of code at the top of the macro: If Msgbox("Are you sure?",vbQuestion+vbYesNo,"Look out!!") =vbNo Then Exit Sub Regards, Jan Karel Pieterse Excel TA/MVP
Hi, Include this line of code at the top of the macro: If Msgbox("Are you sure?",vbQuestion+vbYesNo,"Look out!!") =vbNo Then Exit Sub Regards, Jan Karel Pieterse Excel TA/MVP
B Bernie Deitrick Oct 8, 2003 #3 Jamie, Sure. Just put this code at the top of your macro. If MsgBox("Are you SURE you want to run this macro?", _ vbYesNo) = vbNo Then Exit Sub HTH, Bernie
Jamie, Sure. Just put this code at the top of your macro. If MsgBox("Are you SURE you want to run this macro?", _ vbYesNo) = vbNo Then Exit Sub HTH, Bernie