I am a novice -- using the following code for "vbYes", what code needs to be
added to return to the form after clicking "yes" on the message box?
Dim intMsgBoxResult As Integer
If intMsgBoxResult = vbYes Then
Selection.GoTo What:=wdGoToBookmark, Name:="lbl1"
Selection.TypeText frmLabels.txtRecipientName & vbCrLf
Selection.TypeText frmLabels.txtRecipientAddress
Application.ScreenUpdating = True
Else
intMsgBoxResult = vbNo
Selection.GoTo What:=wdGoToBookmark, Name:="lbl1"
Selection.TypeText frmLabels.txtRecipientName & vbCrLf
Selection.TypeText frmLabels.txtRecipientAddress
Application.ScreenUpdating = True
Application.Windows(curDocument).Activate
ActiveWindow.SetFocus
With ActiveDocument
For Each mark In .Bookmarks
.Bookmarks(mark).Delete
Next mark
End With
Unload Me