Normally, you add parentheses around your parenthetical remarks as you type your text. There may be times, however, when you want to add the parentheses at a later time. For instance, while editing your document you may select some text and then want parentheses added around the selected text. The following macro, AddParens, can be used to add the desired parentheses:
Sub AddParens() Selection.InsertBefore "(" Selection.InsertAfter ")" End Sub
The macro uses the InsertBefore and InsertAfter methods to add the appropriate parenthesis before and after the selected text. To use the macro, assign it to a shortcut key or to a toolbar button. You then select the target text and invoke the macro. The desired parentheses are added to the text.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (479) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Adding Parentheses.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
Paste information into a document and you'll immediately see a small icon next to the pasted information. This icon ...
Discover MoreMany people use the keyboard to do their primary editing tasks. Word doesn't limit you to the keyboard, however. You can ...
Discover MoreWhen getting rid of text from your document, Word allows you to delete, clear, or cut. Here are the differences between ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2015-11-13 23:19:03
Ali Serkan
Hey, i try to use your tip but it couldnt work out for me.
I'm tryin to do this: at the left side of the document i got names and after '1 tab' dialogues..
Andy Hi. How are you?
Sam Thanks.
Ronny Whatz up?
..and wanna turn them into this: (with big capitalisation:
#ANDY# Hi. How are you?
#SAM# Thanks.
#RONNY# Whatz up?
How can i do this? Thanks in advance
Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2022 Sharon Parq Associates, Inc.
Comments