![]() |
#5
|
|||
|
|||
![]() Code:
oControl.Range.Style = = oStyle.NameLocal And, After running the codes, I discover in the Properties of the Rich Text Controls. The "use a style to format contents" has not been checked, which means if you type anything inside the formatted Rich Text Controls, the newly typed texts won't be as formatted as expected (in this case, not turned red, still auto black). |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
michael.fisher5 | Word | 9 | 11-19-2014 06:36 AM |
![]() |
Testor | Word VBA | 4 | 07-08-2012 07:55 AM |
![]() |
keithacochrane | Word | 1 | 05-28-2012 05:06 PM |
![]() |
cksm4 | Word VBA | 2 | 03-01-2011 12:46 PM |
Templates: automatic text generation from Rich Text content control | Chickenmunga | Word | 0 | 10-01-2008 11:16 AM |