Hi there,
I'm trying to put together a macro that moves line nodes, here's what I have so far:-
The problem I'm having is that the node in question moves, to what looks like, the position 10,10 on the page instead of adding 10 to the current xy position of the node.
I think something is wrong with currXvalue and currYvalue.
Please can anyone help?
Thanks in advance,
Nick
I'm trying to put together a macro that moves line nodes, here's what I have so far:-
Code:
Sub movePoint4()
Set Nds = Selection.ShapeRange.Nodes
With Nds
pointsArray = .Item(2).Points
currXvalue = pointsArray(1, 1)
currYvalue = pointsArray(1, 2)
MsgBox (currXvalue & currYvalue)
.SetPosition 2, currXvalue + 10, currYvalue + 10
End With
End Sub
I think something is wrong with currXvalue and currYvalue.
Please can anyone help?
Thanks in advance,
Nick