Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try looking at <a href="http://msdn.microsoft.com/en-us/library/aa218492(office.10).aspx" rel="nofollow noreferrer">MSDN's documentation</a> on the <a href="http://msdn.microsoft.com/en-us/library/aa662095(office.10).aspx" rel="nofollow noreferrer">TextRange object</a>. It contains samples of how to access the Font properties of the TextRange object.</p> <p>EDIT: You can access things like Bold and Italics programmatically in this manner:</p> <pre><code>TextRange.Font.Bold = msoTrue </code></pre> <p>EDIT EDIT: There are several methods by which you can select only certain text in a text range. See the following:</p> <ul> <li><a href="http://msdn.microsoft.com/en-us/library/aa156727(office.10).aspx" rel="nofollow noreferrer">Characters Method</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/aa165624(office.10).aspx" rel="nofollow noreferrer">Lines Method</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/aa165680(office.10).aspx" rel="nofollow noreferrer">Paragraphs Method</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/aa661949(office.10).aspx" rel="nofollow noreferrer">Words Method</a></li> </ul> <p>According to the sames from <a href="http://msdn.microsoft.com/en-us/library/aa662093(office.10).aspx" rel="nofollow noreferrer">this link</a>, you can select a portion of the text using one of these methods and set the font programmatically. For example:</p> <pre><code>Application.ActiveDocument.Pages(1).Shapes(2) _ .TextFrame.TextRange.Words(Start:=2, Length:=3) _ .Font.Bold = True </code></pre> <p>That example was taken from the Words Method link.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload