Thanks Alan
>Whoops! Following should refer to Office XP, not office 2000.
>
>Not sure what versions you're using, but for instance, in Office 2000, check out:
>
>VBAWD10.CHM and VBAXL10.CHM
>
>Alan
>
>>Is there a place where all properties, methods of word excel etc are listed and explained.
>>
>>>Something like this:
>>>
>>>* add variables
>>> .ActiveDocument.Variables("Client.ICID").Value=23
>>> ?.ActiveDocument.Variables.Count
>>> ?.ActiveDocument.Variables(1).Name
>>> ?.ActiveDocument.Variables(1).Value
>>>>Hi
>>>>
>>>>I have to create a Word Doc Template. This template is supposed to allow the user to put in predefined fieldnames, names that the VFP automation program expects from this template.
>>>>
>>>>Q1. How and Where to define DocVariables in a template file?
>>>>Q2. How to put these DocVariables (not it's value) in the template file?