Word 2010: curly quotes
-
- PlatinumLounger
- Posts: 5409
- Joined: 24 Jan 2010, 08:33
- Location: A cathedral city in England
Word 2010: curly quotes
In Word 2010, can "Replace as you type: 'straight quotes' with 'curly quotes' " be turned off for a single document rather than all documents? Thanks!
John Gray
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
-
- Administrator
- Posts: 78524
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Word 2010: curly quotes
I'm afraid not - it is an application-level setting.
You could copy the following macro into a module in your default template Normal.dotm:
The macro toggles curly quotes on/off.
For easy use, you can assign the macro to a Quick Access Toolbar button and/or a custom keyboard shortcut.
You could copy the following macro into a module in your default template Normal.dotm:
Code: Select all
Sub ToggleCurlyQuotes()
With Options
.AutoFormatAsYouTypeReplaceQuotes = Not .AutoFormatAsYouTypeReplaceQuotes
End With
End Sub
For easy use, you can assign the macro to a Quick Access Toolbar button and/or a custom keyboard shortcut.
Best wishes,
Hans
Hans
-
- PlatinumLounger
- Posts: 5409
- Joined: 24 Jan 2010, 08:33
- Location: A cathedral city in England
Re: Word 2010: curly quotes
Thanks, Hans - I suspected as much...
John Gray
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
-
- 5StarLounger
- Posts: 620
- Joined: 10 Jan 2016, 15:56
- Location: Madison, Wisconsin
Re: Word 2010: curly quotes
This is a Word setting rather than a document setting.
Remember that Ctrl+Z can be used to undo a conversion. It is a pain, but it works.
If you use the macro solution, you could save the macro in the document along with a keyboard shortcut and/or a QAT icon to trigger it. You could even put it in an AutoOpen and BeforeClose procedure to turn on and off for the document.
https://docs.microsoft.com/en-us/office ... eforeclose
http://addbalance.com/word/QATmodification.htm
Remember that Ctrl+Z can be used to undo a conversion. It is a pain, but it works.
If you use the macro solution, you could save the macro in the document along with a keyboard shortcut and/or a QAT icon to trigger it. You could even put it in an AutoOpen and BeforeClose procedure to turn on and off for the document.
https://docs.microsoft.com/en-us/office ... eforeclose
http://addbalance.com/word/QATmodification.htm
Attorney Charles Kenyon
Templates in Microsoft Word
Modifying the QAT
The Importance of Styles in Microsoft Word
Templates in Microsoft Word
Modifying the QAT
The Importance of Styles in Microsoft Word
-
- 4StarLounger
- Posts: 475
- Joined: 21 Feb 2020, 21:27
- Location: Vermont (USA)
Re: Word 2010: curly quotes
Probably you're done by now with whatever it was you were doing. But: when I've been faced with this problem in the past, I've done my typing in Notepad, and then cut/pasted into Word. The quote marks and apostrophes don't convert automatically when pasted in. Of course you then have to apply whatever other formatting you want manually...
—Nick
I’m only an egg (but hard-boiled)
I’m only an egg (but hard-boiled)
-
- Administrator
- Posts: 12612
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Word 2010: curly quotes
I suspect it might be easiest to create a macro that replaces all curly quotes with straight quotes and use a toolbar button to call it, or even run it automatically in a BeforeSave routine.
StuartR
-
- Microsoft MVP
- Posts: 1318
- Joined: 24 May 2013, 15:33
- Location: Warminster, PA
Re: Word 2010: curly quotes
StuartR wrote:I suspect it might be easiest to create a macro that replaces all curly quotes with straight quotes and use a toolbar button to call it, or even run it automatically in a BeforeSave routine.
Code: Select all
Sub MakeQuotesStraight()
Dim optSmartQs As Boolean
' save user's current option
optSmartQs = Options.AutoFormatAsYouTypeReplaceQuotes
Options.AutoFormatAsYouTypeReplaceQuotes = False
With ActiveDocument.Range.Find
.Text = Chr(34) ' finds both straight and curly quotes
.Replacement.Text = Chr(34)
.Execute Replace:=wdReplaceAll
End With
' restore the user's option
Options.AutoFormatAsYouTypeReplaceQuotes = optSmartQs
End Sub