View Single Post
 
Old 02-26-2012, 07:01 PM
tinfanide tinfanide is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default VBA: how can I know the position on a document?

Suppose I want to add a textbox on a Word Document. Is there any ruler that tells me the exact position where I want to add the textbox? And what's the unit of the following statement?

Code:
Set newTextbox = docNew.Shapes.AddTextbox _         (Orientation:=msoTextOrientationHorizontal, _         Left:=100, Top:=100, Width:=300, Height:=200)
Reply With Quote