![]() |
|
#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. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Export Word Drop-Down Content Control to Excel Specific Sheet
|
nolanthomas32 | Word VBA | 4 | 09-19-2017 06:25 AM |
Rich Text Content Control In Template Not Working (Word 2013)
|
irvingdog | Word | 2 | 01-26-2017 04:18 PM |
How do you set rich text in a content control
|
Testor | Word VBA | 4 | 07-08-2012 07:55 AM |
Rich Text Content Control - Allow User Formatting
|
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 |