What is the command to get a user confirmation, in Word VBA? And what is the command to exit the macro?
I want something like:
' Potentially dangerous action
if (User answers dialog with "No")
(cancel macro)
endif
' Continue with macro
' ...
' ...
... using only Word macros, i.e., not Automation.
TIA,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)