Selected node coordinates return

Hello!
I have a 2 -point line. It's simple to determine X,Y coordinates of each of two nodes with VBA code. 

But how to determine X,Y coordinates of selected node /with Shape tool/?

Or how to make VBA code return 
MsgBox "Coordinates of selected node are: X = " & Snode.positionX & ", Y = " & Snode.positionY"

Or
MsgBox "Coordinates of UNselected node are: X = " UNnode.positionX & ", Y = " & UNnode.positionY"

Greetings!