ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   X-Y axis (https://www.excelbanter.com/excel-discussion-misc-queries/60119-x-y-axis.html)

famdamly

X-Y axis
 

Is there a way I could get the x and y axis coordinates to display in a
cell as I drag the shape around with a mouse?

Example

ActiveSheet.Shapes.AddLine(14.25, 7.5, 143.25, 8.25).Select
With ActiveSheet.Shapes.BuildFreeform(msoEditingAuto, 10.5,
378.75)
.AddNodes msoSegmentLine, msoEditingAuto, 10.5, 297#
.AddNodes msoSegmentLine, msoEditingAuto, 109.5, 297#
.AddNodes msoSegmentLine, msoEditingAuto, 109.5, 381#
.AddNodes msoSegmentLine, msoEditingAuto, 10.5, 378.75
.ConvertToShape.Select

I want to be able to cross compare other shapes relative to the new
position of this shape after it has been drug around by a mouse.lol

I know nothing, about how to do that.


--
famdamly
------------------------------------------------------------------------
famdamly's Profile: http://www.excelforum.com/member.php...o&userid=29382
View this thread: http://www.excelforum.com/showthread...hreadid=492980



All times are GMT +1. The time now is 07:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com