![]() |
|
#8
|
|||
|
|||
|
Hi
The code you gave for inserting parentheses before and after each word in a file works great. What modification would the code need if I want it to apply to only that text in the document which is font size 20. Then the code should turn all the parentheses it just added as red and the words inside the parentheses as red? To understand, please see the example below. Note: I couldn't see the tool to show the variation in font size for my post, so assume that the bold represents font size 20. ORIGINAL SAMPLE Tim is a computer wiz kid RESULT AFTER RUNNING CURRENT CODE Tim is a computer wiz kid (Tim) (is) (a) (computer) (wiz) (kid) DESIRED RESULT Tim is a computer wiz kid Tim is a (computer) wiz kid Last edited by Singh_Edm; 09-19-2014 at 03:35 PM. Reason: Elaborated question. |
| Tags |
| macro, parentheses |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Insert a pdf file into a word document | raistlin | Word | 2 | 01-08-2014 01:42 PM |
Word insert only 1st page of multi-paged PDF file
|
Evgeniy | Word | 1 | 02-04-2012 01:36 PM |
Insert-Text from File in Word Ribbon?
|
tatihulot | Word | 2 | 10-12-2011 04:40 AM |
Parentheses Changing on Document
|
Subject1157 | Word | 2 | 06-16-2011 08:46 PM |
| How to insert a .mov file in Word Document | Jai25 | Word | 0 | 02-11-2010 04:40 PM |