Reply
 
Thread Tools Display Modes
  #1   Report Post  
Kathy_L
 
Posts: n/a
Default Is there a way to add quotation marks to highlighted text?

Can you automatically add quotation marks or parenthesis to text that you
highlight?
  #2   Report Post  
Herb Tyson [MVP]
 
Posts: n/a
Default

There's no built-in way. However, here's the macro I use:

Sub QuoteIt()
Selection.Copy
Selection.TypeText Text:=Chr$(147) + Chr$(148)
Selection.MoveLeft Unit:=wdCharacter, Count:=1
Selection.Paste
Selection.MoveRight Unit:=wdCharacter, Count:=1
End Sub

If you want straight quotes and have Smart Quotes turned off in Autoformat
as you type, you can substitute 34 for 147 and 148 in the 3rd line.

I have this macro assigned to Ctrl+Shift+".


--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
"Kathy_L" wrote in message
...
Can you automatically add quotation marks or parenthesis to text that you
highlight?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
quotation marks Dulcinea Microsoft Word Help 2 September 18th 05 11:36 PM
Need Quotation marks to appear in TOC - TK Microsoft Word Help 2 September 9th 05 12:14 AM
Need option to ignore quotation marks in sorting bibliography. Syntactician Microsoft Word Help 1 July 6th 05 11:17 PM
French (dagger) to English (curly) quotation marks Catherine Microsoft Word Help 5 February 13th 05 11:13 PM
Adding quotation marks Ziaforever Microsoft Word Help 1 December 1st 04 09:13 PM


All times are GMT +1. The time now is 03:49 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"