This is what was in the macro. What would this code be if it were VFP and not VB? I tried this and it doesn't work.
Selection.HomeKey Unit:=wdLine, Extend:=wdExtend
Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter
Jim
>>Is there anyone out there that knows how to Center text in word through OLE automation?
>>
>>very stuck, Please help
>
>Jim,
>
>Go into word and type sme text. Then turn on teh macro recorder, select the text and center it, shut off the recorder and then edit the macro it created. The asnwer will be there.
Thanks
Jim