Is there a Function to get the X, Y coordinates of a shape

M

Michel LAPLANE

I don't know what you mean by function but you can take the PinX and PinY of
a shape that gives the center of the boundingbox of a 2D shape.

In VBA :

Dim strCoordX as string
Dim strCoordY as string

strCoordX = visShape.Cells("PinX")
strCoordY = visShape.Cells("PinY")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top