![]() |
#1
|
|||
|
|||
![]() Is it possible to insert a rich text control control into a particular position in a Word doc template. I have the following which works fine for a shape, but not the rich text control. Set shp = ActiveDocument.Shapes.AddTextbox( _ Orientation:=msoTextOrientationHorizontal, _ Left:=10, Top:=5, Width:=500, Height:=41) shp.TextFrame.TextRange.Text = "Please add company name" shp.TextFrame.TextRange.Style = oStyle shp.Line.Visible = msoFalse shp.RelativeVerticalPosition = wdRelativeVerticalPositionPage shp.Top = InchesToPoints(1.1) shp.RelativeHorizontalPosition = wdRelativeHorizontalPositionPage shp.Left = InchesToPoints(0.27) Thanks in advance. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
nolanthomas32 | Word VBA | 4 | 09-19-2017 06:25 AM |
![]() |
irvingdog | Word | 2 | 01-26-2017 04:18 PM |
![]() |
Testor | Word VBA | 4 | 07-08-2012 07:55 AM |
![]() |
keithacochrane | Word | 1 | 05-28-2012 05:06 PM |
Templates: automatic text generation from Rich Text content control | Chickenmunga | Word | 0 | 10-01-2008 11:16 AM |