![]() |
#1
|
|||
|
|||
![]()
I have a word document that I want to select the entire text and reformat to Arial 10 except for a small section that will be Arial 8. I know the code for selecting all, but cannot seem to be able to just select the following text:
This chart is for reference only Please do not distribute results Date created 1/1/2013 Code I have for selecting all text is as follows: Code:
Sub SelectAllText() Selection.WholeStory Selection.Font.Name = "Arial" Selection.Font.Size = 10 Selection.Font.Color = wdColorAutomatic Selection.Collapse Selection.Find.Text = "This as a test" End Sub Many thanks in advance. |
Tags |
selecting text, vba in microsoft word, word 2007 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
mkhuebner | Word VBA | 8 | 02-04-2014 08:04 PM |
![]() |
sential | Word | 6 | 01-10-2014 03:22 PM |
![]() |
smodtactical | PowerPoint | 1 | 05-10-2010 10:11 AM |
![]() |
Invain | Word | 1 | 02-14-2010 07:08 AM |
Select text between characters | davers | Word | 10 | 05-24-2009 05:15 AM |