Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 09-19-2014, 03:25 PM
Singh_Edm Singh_Edm is offline Insert parentheses before and after each word in a file. Windows 8 Insert parentheses before and after each word in a file. Office 2013
Advanced Beginner
Insert parentheses before and after each word in a file.
 
Join Date: Jan 2014
Posts: 41
Singh_Edm is on a distinguished road
Default

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.
Reply With Quote
 

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
Insert parentheses before and after each word in a file. Word insert only 1st page of multi-paged PDF file Evgeniy Word 1 02-04-2012 01:36 PM
Insert parentheses before and after each word in a file. Insert-Text from File in Word Ribbon? tatihulot Word 2 10-12-2011 04:40 AM
Insert parentheses before and after each word in a file. 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

Other Forums: Access Forums

All times are GMT -7. The time now is 06:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft