The easiest way that I've found to figure out what code is needed to do a specific task in Word is to record a macro of yourself doing that specific task and then view the resulting macro (VBA) code and replace the non-dynamic elements with whatever dynamic elements you want to add to the script.
If you're using OLE to control Word from VB, then "most" of the time the VBA scripting code that Word generates can be "cut and pasted" into your VB app.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement