Information générale
Catégorie:
Codage, syntaxe et commandes
>>>I'm writing a VFP app that uses OLE automation to control MS Word 6.0 and up through WordBasic(see the Word Developer's Kit). I'm able to use object methods like MailMergeToDoc with no problem, but I'm having trouble locating the proper syntax for methods which require positional arguments, eg. MailMerge.
>>>
>>>Any ideas?
>>>the information you are looking for can be found in a file called POSITION.TXT or POSITION.HLP
>>
>>I believe it can be found on MS web site or FTP site.
>
>1. Open a word document.
>2. Define a macro
>3. Perform the necessary action in Word.
>4. Stop recording.
>5. Edit the macro to review what it recorded.
>
>Can anyone identify or recommend an advanced reference for Word Basic?
Thanks for the info! The problem I was having was that the VFP compiler was coming up with "Type Mismatch" errors. Article Q169565 in the MS KnowledgeBase was helpful in resolving the problem.
Précédent
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