Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Confirmation in macro
Message
De
05/03/2005 07:49:18
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/03/2005 07:40:41
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Microsoft Office
Catégorie:
Word
Divers
Thread ID:
00992989
Message ID:
00992992
Vues:
19
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform