Hi there, I have a message box that displays text with yes and no buttons, but am having difficulty assigning the next steps according whether yes or no is clicked.I would like the macro to stop after the message is displayed to change the date, and if "No" is clicked, then the macro will continue. So far, I can't get the no part to work, nor can I get the macro to stop after the yes msgbox is displayed. I tried addingI keep getting sintax errors or errors saying that I have an elseif without an if statement. Any help is greatly appreciated.
If MsgBox("Has the scheduling frequency changed during this period?", vbYesNo) Then If vb = yes Then MsgBox (" change the end date and complete summary from start date to freq change date")
Else if vb=no then 'code for macro to follow
also could you please tell me how to skips lines (same as enter key) in this forum?