>Hello All
>
>I thank you to try help me i can do what i want and now i have another doubt i'm trying to create a field in word document i'm using the follow sintax:
>
>.ActiveDocument.Fields.Add( wdFieldDocVariable,"teste1") and VFP shows me a error message saying "Variable wdFieldDocVariable is not found"
>
>Anyone can help me?
>Thanks
>
>
Hello!
Of course, the "wdFieldDocVariable" constant must be defined before you may use it.
****************************************
#define wdFieldDocVariable = 64 && as defined in MS Word VB
****************************************
Good Luck.
Alexander Grigorjev
Alex