>hi all,
>
>i want to display - through OLE - the page numbers in the PAGE FOOTER section of a MS WORD document in the style - Page X of Y.
>
>The Visual Basic that syntax i got through the generation of a macro was as follows -
>
>NormalTemplate.AutoTextEntries("Page X of Y").Insert Where:=Selection.Range
>
>but, i do not know how to convert the above into the correct VFP6.0 equivalent.
>
>can someone please help me out ?
>
>with sincere thanks in advance.
oWord.NomalTemplate.AutotextEntries("Page X of Y").Insert(oWord.Selection.Range)
Cetin