How to add a textbox near the current mouse position (VBA)?
Posted on 2006-06-01
I have a word document with two parts (left and right).
In the left part, I will write down some text and when I click on a button, then in the right part a textbox should appear on the same height as mij last typed text.
I can insert a textbox, but how can I define the top position?
ActiveDocument.Shapes.AddTextBox(msoTextOrientationHorizontal, 495#, 360#, 72#, 72#, Selection.Range).Select
Selection.ShapeRange.Top = ??? --> I cannot find this value
Can somebody help me, plz?