Stefan
Sun Mar 16 07:21:07 CDT 2008
"sherry" <sherry@discussions.microsoft.com> wrote in message
news:E8CFA09F-5E0F-4F1D-BF5D-98C40FA5B69D@microsoft.com...
> Hi
> I've changed my plan.
> I have 4 variables created.
> I have a word document with 4 DocVariables
>
> I can GETOBJECT()
> *****
> I can print word document.
> I don't know how to code what goes in ***** to put variables into the
> document.
>
> Please help
I have not worked with MS Word "DocVariables" myself yet - however,
in general you can
- use the MSOffice Macro Recorder to track almost any interactive user
action and translate the resulting VBA code to Vfp syntax.
- read Tamar Granor's book on "Microsoft Office Automation with
Visual FoxPro", available at
http://www.hentzenwerke.com/catalog/autofox.htm
hth
-Stefan
--
|\_/| ------ ProLib - programmers liberty -----------------
(.. ) Our MVPs and MCPs make the Fox run....
- / See us at www.prolib.de or www.AFPages.de
-----------------------------------------------------------