![]() |
|
#4
|
|||
|
|||
|
You asked about something to find a specific string of text. What you posted does not do this. It simply changes the document to Arial 10. If you used Styles (which is how Word is supposed to be used!!), you could do it with:
Code:
Sub MakeArial() With Selection .WholeStory .Style = "MyArial" End With End Sub |
| Tags |
| selecting text, vba in microsoft word, word 2007 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to find and select text in a document?
|
mkhuebner | Word VBA | 8 | 02-04-2014 08:04 PM |
Formatting- Apply changes to highlighted text results in same change to other text
|
sential | Word | 6 | 01-10-2014 03:22 PM |
How to select all text in a presentation (even if not in outline)
|
smodtactical | PowerPoint | 1 | 05-10-2010 10:11 AM |
Select text by color
|
Invain | Word | 1 | 02-14-2010 07:08 AM |
| Select text between characters | davers | Word | 10 | 05-24-2009 05:15 AM |