Word 97 and DDE
One example not in the current UpFront manuals is an example of a form letter being created by using bookmarks in a word 97 document with a program written using "Visual Basic For Applications". The following word document:-
fletter.doc
Contains a macro called "MailMerge" that shows an example of this approach. The macro would be launched from the UpFront application with the command script:- DDEExecute winword|fletter,"' [ToolsMacro .Name="MailMerge", .Run]'"
The command script could be attched to a toolbar control. Note that this example show a work around to what appears to be a bug in word 97. It appears that when word 97 requests a largish amount of data (approx 500 characters) word 97 returns a "Buffer too small error".
|