Hello everybody.
There is one thing I want to do in PowerPoint VBA.
I want to create two dots in the main window - dot A and dot B - by their given coordinates: for example, A (232, 464) and B (109, 567). I don't know how to do it in PowerPoint VBA. I know how to create a simple straight line. I use this macro code for that:
Sub CreateLine()
ActiveWindow.Selection.SlideRange.Shapes.AddLine(192#, 180#, 360#, 252#).Select
End Sub
But I still don't know how what code I would need to create just dots, not lines.
Then, I want to move those dots somehow. Again, I know hot to move whole lines or other objects - for that I use this code:
Sub move()
ActiveWindow.Selection.ShapeRange.IncrementLeft 6#
End Sub
But I don't know how to move dots, especially if I want to move one dot one way (for example, move it up) and the other dot another way (for example, move it to the left).
Why do I want to do it? Because later I am planning to keep those dots "connected" by straight lines, no matter which directions I move those dots.
If you know the answer, please share it with me here.
Thank you in advance.