I'm not sure. Wbasic has a series of draw* and formatdrawingobject. I haven't used them.
Cetin
>Is there a way to do that using the word.basic object? i.e. oword = CREATEOBJECT("word.basic")
>
>Thanks
>
>Jim
>
>>>Is there anyone out there that has experience using OLE automation with WORD? I need to know how to draw a rectangle at a specific point in my program.
>>>
>>>Any ideas would be greatly appreciated, Thanks
>>>
>>>Jim
>>
oWord = createobject("word.application")
>>#define msoShapeRectangle 1
>>oWord.ActiveDocument.Shapes.AddShape(msoShapeRectangle, Left, Top, Width, Height)
>>oWord.visible = .t.
Cetin