Oops missed the .Name ;)
>Hi Jean-René
>
>I don't know of a method, but Document.Variables is a collection.
>There is a property .Count that should hold the number of variables and you can also access it by a numeric index too.
>
>It as well has a property .Name, so a loop in VFP should do the trick.
>
>
>toWord = CreateObject("application.word")
>For i = 1 to toWord.ActiveDocument.Variables.Count
>lcname = toWord.ActiveDocument.Variables.Name(i)
>...
>EndFor
>
>
>HTH
>Markus