Hi, I wrote some code so that everytime someone hits the save button, a MsgBox pops up asking if he mirrored the drawing or not. If he clicks on yes, then a MsgBox pops up saying "Ok", but if the person clicks on "no" then I want the mirror command to take effect right away...how could I do that in my code. And also right now, whether you click on yes or no, the same "yes" msgbox comes up....like is not reading the If result = VbYes Then code line. Please advice. Thank you.
Private Sub AcadDocument_BeginSave(ByVal FileName As String)
MsgBox "Did you Mirror your tops?", vbYesNo
Dim result As VbMsgBoxResult
If result = vbYes Then
MsgBox "no"
Else
MsgBox "yes"
End If
End Sub
Private Sub AcadDocument_BeginSave(ByVal FileName As String)
MsgBox "Did you Mirror your tops?", vbYesNo
Dim result As VbMsgBoxResult
If result = vbYes Then
MsgBox "no"
Else
MsgBox "yes"
End If
End Sub