WD: Replacing Smart Quotes with Straight Quotes (and Vice Versa)Last reviewed: February 5, 1998Article ID: Q86652 |
The information in this article applies to:
SUMMARYThis article details how to search for smart quotation marks so that you can replace them with standard quotation marks. The article also describes how to remove the SmartQuotes macro that is provided in Word version 2.x for Windows.
MORE INFORMATION
Disabling Smart Quotes in Word 7.xSmart Quotes is an AutoFormat As You Type or AutoFormat option in Word version 7.x. Use the following procedure to disable Smart Quotes as you type:
Disabling Smart Quotes in Word 6.xSmart Quotes is an AutoFormat option in Word version 6.x. Use the following procedure to disable Smart Quotes:
Replacing Existing Smart Quotes in Word 6.x, 7.xUse one of the following methods to replace existing smart quotation marks with straight quotation marks in a document. Method 1: Use the Replace Command on the Edit Menu:
NOTE: Word locates quotation marks (smart and straight) and replaces them with straight quotation marks. WARNING: ANY USE BY YOU OF THE <CODE OR MACRO CODE> PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this <code or macro code> "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. Method 2: Create the following macro: Note that although the EditReplace command wraps to a second line in this example, type it as one line when you create it.
Sub MAIN EditReplace .Find = "^0145", .Replace = "'", .Direction = 0, .ReplaceAll, .Wrap = 1 EditReplace .Find = "^0146", .Replace = "'", .Direction = 0, .ReplaceAll, .Wrap = 1 EditReplace .Find = "^0147", .Replace = Chr$(34), .Direction = 0, .ReplaceAll, .Wrap = 1 EditReplace .Find = "^0148", .Replace = Chr$(34), .Direction = 0, .ReplaceAll, .Wrap = 1 End SubNOTE: Before you run this macro in Word version 7.x, select the AutoFormat As You Type check box and clear the Straight Quotes with Smart Quotes check box on the AutoFormat tab.
Replacing Existing Straight Quotes in Word 7.xUse the following procedure to replace existing straight quotation marks with smart quotation marks in a document:
Replacing Existing Straight Quotes in Word 6.xUse the following procedure to replace existing straight quotation marks with smart quotation marks in a document.
Removing Smart Quotes from Word Versions 2.x and EarlierSmartQuotes is a macro that substitutes a decorative "curly" quotation mark when you type a single or double quotation mark. The following procedure describes how to disable the macro and how to replace any "curly" quotation marks in your document with plain quotation marks.
Note: Word locates quotation marks (smart and straight) and replaces them with straight quotation marks.
REFERENCES"Microsoft Word User's Guide," version 6.0, pages 59, 175 "Microsoft Windows User's Guide," version 3.0, pages 567-568, 570-571 "Microsoft Word for Windows User's Guide," version 2.0, pages 153-155 "Word for Windows Companion," version 1.1, pages 835-841
|
Additional query words: smartquote quotation marks smart quote curly
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |