I have a macro to export object to excel. The issue is that for all text objects the coordinates returned are always 0,0 even though they are scattered over the sheet. Coordinates for other objects is returned correctly. Sample of the macro used is below:
objid = "TX143"
set chart = ActiveDocument.GetSheetObject(objid)
chartX = chart.GetRect.Left
chartY = chart.GetRect.Top
msgbox("x=" & chartX & ",y=" & chartY)
Has anyone encountered this issue?
Appreciate any help with this.