Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-17-2014, 03:39 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 Insert parentheses before and after each word in a file.

Hi guys!


I have a 1430 page word file where I want to:
  1. Copy a line till a period (including the period).
  2. Have a line break
  3. Paste the line.
  4. Enclose each word of the pasted line in parentheses.
  5. Line break
  6. Return to step 1.

For e.g if I have the following text

I love MS Office forums. Forum members are very helpful. I could use their kind help.

After my macro, the display should look like:

I love MS Office forums.
(I) (love) (MS) (Office) (forums)(.)

Forum members are very helpful.
(Forum) (members) (are) (very) (helpful)(.)

I could use their kind help.
(I) (could) (use) (their) (kind) (help)(.)
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 04:30 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