To post as a guest, your comment is unpublished.· 1 years agoI think I found the explanation on another page. If you simply do a replace all and ask it to replace either single quotes or double quotes with the exact same symbol, it will go through and apply your autocorrect rules, including to replace straight quotes with smart quotes. So it should update those all to smart quotes as it goes.
How to change straight quotes to curly quotes in word?
Normally the Microsoft Word will automatically change straight quotes to curly (smart ortypographer's) quotes as you type. But if the feature is turned off, both single and double quotes marks may appear straight in your document. Here are tips for you to change straight quotes to curly quotes and vice versa in Word .
Office Tab: Enable Tabbed Editing and Browsing in Office, Just Like Chrome, Firefox, IE 8/9/10.
Classic Menu for Office: Bring Old Look of Office 2003 Back to Office 2007, 2010, 2013 and 2016.
Before applying Find and Replace, you should go to Auto Correct Options to uncheck the "Straight quotes" with "smart quotes" check box.
In Word 2003, Auto Correct Options is under the Tool bar. And in Word 2007, applying Auto Correct Options by clicking > Options > Proofing > Auto Correct Options. Here we take Word 2010/2013 for example:
Step 1. Click > Option > Proofing > Auto Correct Options > AutoFormat As You Type, and select “Straight quotes" with "smart quotes" check box. See screenshot：
Step 2. Click Home > Replace in the Editing group or press Ctrl + H to display Find and Replace dialog, and enter ‘or ‘’ in Find what box, and enter ‘ or ’’in Replace with box. See screenshot:
Step 3. Click Replace All.
Note: if you want to replace all curly quotes with straight quotes, please clear "Straight quotes" with "smart quotes" check box).
To replace all straight quotes with curly quotes in Word 2010 with using VBA, please click File> Option > Proofing and click AutoCorrect Options and select the "Straight quotes" with "smart quotes" check box as follows first. (Note: if you want to replace all curly quotes with straight quotes, please clear "Straight quotes" with "smart quotes" check box).
Step 1: Press “Alt-F11” to open the Microsoft Visual Basic for Application window;
Step 2: Click Module on the Insert tab, copy and paste the following VBA code into the Module window;
Step 3: Then click Run button to apply the VBA.
The following VBA is to change straight quotes to curly quotes:
Sub ChangeDoubleStraightQuotes() 'Update 20131107 Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = """" .Replacement.Text = """" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord =False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAll End Sub
The following VBA is to change curly quotes to straight quotes:
Sub ReplaceSmartQuotes() Dim vFindText As Variant Dim vReplText As Variant Dim i As Long vFindText = Array("[^0145^0146]", "[^0147^0148]") vReplText = Array("^039", "^034") With Selection.Find .ClearFormatting .Replacement.ClearFormatting .Forward = True .Wrap = wdFindContinue .MatchWholeWord = True .MatchWildcards = True For i = LBound(vFindText) To UBound(vFindText) .Text = vFindText(i) .Replacement.Text = vReplText(i) .Execute Replace:=wdReplaceAll Next i End With End Sub
Kutools for Word
More than 100 Advanced Functions for Word 2003, 2007, 2010, 2013 and 2016
To post as a guest, your comment is unpublished.· 3 years agoYour explanation for replacing in Find/Replace from instruction #2 on is completely incomprehensible.