Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confirmation in macro
Message
From
05/03/2005 07:49:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/03/2005 07:40:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Microsoft Office
Category:
Word
Miscellaneous
Thread ID:
00992989
Message ID:
00992992
Views:
17
For that matter - and based on the principle of "teaching to fish" - where am I supposed to find this in the help?

>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform