General information
Category:
Coding, syntax & commands
>>>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only