Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate

Barry MacDonnell's
Toolbox for WordPerfect

Macros, tips, and templates for Corel® WordPerfect® for Windows®
© Copyright 1996-2021 by Barry MacDonnell. All Rights Reserved.

Page updated Nov 30, 2020

Macros to:

1) Toggle QuickCorrect, SmartQuotes, and other QC settings
2) Convert existing regular double or single quote marks to typographical quote marks, or vice versa

Download QC.ZIP (v1.04a, 12/13/06; 21,831 bytes)

Compatible with WordPerfect 8 and later versions

WordPerfect 11 users: See important information about using macros in the first release of WP11 ( at the top of this page.

Downloading, Documentation, Modifications, and Support 

More macros in the Library...

Related resources -

QuickCorrect - Information and tips about this WordPerfect feature's two related functions and five related modules 

Two separate macros are included in the download ZIP file:

QC.wcm - Toggle QuickCorrect, SmartQuotes, and other QC settings


This is a WordPerfect macro that toggles the state of various default and preferred settings in your Tools, QuickCorrect, in that feature's five modules:

□  QuickCorrect

[You can open these modules to view your current settings.
Also see the left column for more on Tools, QuickCorrect.]

In general, the QC.wcm macro has a couple of practical purposes.

[1]  Some people often find they need to toggle QuickCorrect (and SmartQuotes) on and off, usually to temporarily get rid of smart quotes (a.k.a. "curved," "curly," or "typographical" quotes).

[2]  When creating or editing a macro, or creating or loading a merge document, WordPerfect will temporarily turn off several QuickCorrect settings — even in other currently open documents.

This might be irritating, but it is "working as designed". If QuickCorrect were left "on" during macro creation/editing or during a merge "...imagine the havoc that could be wreaked on macro commands or on the abbreviated names of variables in merges that just might happen to match an abbreviation in QuickCorrect!..." [quoted from a WordPerfect Universe post].

Further, jumping back and forth between a macro or merge document and a "normal" document may require you to enable or disable  SmartQuotes (i.e., typographical, "curly" quote marks) for the task at hand. Macro code, for example, needs "straight" quote marks, not "curly" quote marks.

Since changes to WordPerfect's QuickCorrect settings often "stick," you may find that during typing in a document 

▸ quote marks change from "curly" to "straight" marks (or the opposite); or

QuickCorrect doesn't replace "incorrect" words in its list with correct ones (or the opposite: it replaces correct words with something different); or

QuickWord abbreviations don't expand when they should (or the opposite: they expand when they shouldn't — such as during a merge).

Hence there is a need for a practical, quick and easy method to quickly toggle certain QuickCorrect settings on or off — especially
your preferred settings.

This macro is such a method.


The QC.wcm macro toggles these QuickCorrect and QuickWords settings on and off. It also sets certain other QC settings to your preferred defaults. You may want to assign it to a toolbar button for easy access.

If QuickCorrect, QuickWord, Format-As-You-Go, SpeedLinks, and/or SmartQuote settings are off when you play it, it will turn them on (i.e., just the ones you have specified — see below); if these settings are on, it will turn certain ones off (i.e.,, just the ones you specified).

A brief message appears in either event to tell you which way the toggle is working.

Please note this about SmartQuote settings:

The QC.wcm macro (optionally) restores the four Smart ("curly") quote marks found under QuickCorrect's SmartQuotes tab.

Sometimes these two pairs of Open/Close quote marks are accidentally deleted from the SmartQuotes dialog (some users deliberately do this erroneously assuming this is the way to temporarily disable them), or they are changed to a different set of marks in the SmartQuotes dialog. This macro can restore them to their default or preferred values.

Hence if you use Smart ("curly") quote marks other than the WordPerfect defaults you will want to either toggle this macro function off or enter your own quote mark values for the four items. You can do this by personalizing the macro's operation (see next section).

To personalize the macro's operation

A WordPerfect macro is a document with a .wcm filename extension. Just open it with Tools, Macro, Edit and follow the instructions at the top of the code and the redlined User Modification Area, then — when you are finished making changes — click the Save & Compile on the Macro Toolbar that should be displayed at the top of the screen.

Your preferred Tools, QuickCorrect settings can be set in the macro

Tip: While you are editing the macro (see previous paragraph) you can view your current settings by clicking Tools, QuickCorrect. The macro's User Modification Area is laid out in sections that correspond to the five tabs in QuickCorrect.

Then set the default state of any one or more of these items:

QuickCorrect (tab)  [see Notes]
- Replace words as you type (On/Off)
- Correct other mis-typed words when possible (On/Off)
QuickWords (tab)

- Expand QuickWords when you type them
SpeedLinks (tab)

- Format words as hyperlinks when you type them
Format-As-You-Go (tab)

- Capitalize next letter after end-of-sentence punctuation
- Correct TWo IRegular CApitals (make second letter lowercase)
- Change two spaces to one space between sentences
  (None/ one to two/ two to one)
CapsFix - Correct accidental usage of cAPS LOCK key
(Tip: See some related tips for advanced users)
- QuickBullets - Lists and Outlines created as you type
QuickIndent - TAB works more like Indent
QuickLines - Create graphic lines with (----, ====)
QuickOrdinals - Replace Ordinals (1st, 2nd...) with superscript
QuickSymbols - Replace (--,---) with (en-dashes,em-dashes)
SmartQuotes (tab) 

- Use double quotation marks as you type (Open & Close)
- Use single quotation marks as you type (Open & Close)
- Use straight quotation marks after numbers - [e.g.] 6'

[The availability of the next two settings depends on your Language edition/setting: If it does not require them, they will be dimmed out; hence the QC.wcm macro does not include them. Set them to your preferred state manually.]

- Insert space after opening quotation mark
- Insert space before closing quotation mark

¤  Generally speaking, there is no need to customize the first QuickCorrect (tab) setting above ("Replace words as you type"). The macro's default "On" setting is to replace words when you type, and its default "off" setting is to not replace them when QuickCorrect is turned off. Most users will want to keep these defaults.

¤  Many if not most users probably will not want to customize the second QuickCorrect (tab) setting ("Correct other mis-typed words when possible"), either. From WordPerfect's Help <F1>:

When the "Correct other mistyped words when possible" check box is enabled, WordPerfect replaces typographical errors that have only one possible correction without notifying you of the change. Use this option only if you are confident that a document uses words found in a standard word list. Unusual spellings and proper nouns might be changed automatically when you enable this option.

[Most power users disable (clear) this setting. They don't want strange "corrections" slipping into important documents unnoticed.]

[For WordPerfect X3 and earlier: In the original release of WPX3 correct words were flagged as spelling errors if the option "Correct other mistyped words when possible" was active. This was remedied with WPX3/Service Pack 1.]


•  For additional tips about QuickCorrect, see here.

•  You can assign this or any macro to a menu, toolbar, or keyboard shortcut ("hot key"). See https://wptoolbox.com/tips/EasyPlay.html.

Convert quote marks.wcm - Convert existing regular double or single quote marks to typographical quote marks, or vice versa


This macro (included in the download QC.ZIP file above) -

  • converts existing regular ("straight") double or single quote marks to typographical quote marks (a/k/a 'smart' quotes or 'curly' quotes),
  • or the opposite: it converts existing typographical ("curved" or "curly" or "smart") quote marks to regular quote marks.

Several options are available from a pop-up menu dialog [screen shot].


WordPerfect's Tools, QuickCorrect, SmartQuotes options — if enabled — can automatically convert existing regular ("straight") double or single quote marks to typographical quote marks (a/k/a 'smart' quotes or 'curly' quotes): Use Edit, Find and Replace and insert the quote marks in the "Find:" and "Replace with:" fields using your keyboard (i.e., do not insert WordPerfect symbols for these items). Then, with the cursor at the top of the document, click Replace All. There is no need for a macro in this case, but you may prefer to use the Convert quote marks macro for its convenience and added functions.


Once the macro is located in your default or supplemental macro folder (as shown in Tools, Settings, Files, Merge/Macro) you can just play it with Tools, Macro, Play.

A menu pops up [image] to let you choose which conversion, where to start converting, etc. A menu option also lets you use regular (straight) quote marks with numbers (e.g., 10'5").

If text is selected before you play the macro, it will convert only quote marks that are inside the selected text.

  • You can set default values for the macro's menu at the top of the macro code.
  • The macro takes advantage of WordPerfect's QuickCorrect feature ("SmartQuotes") to convert the quote marks. See the macro's code for the technique.
  • Note that if you have edited a macro during the session the macro editor will turn SmartQuotes off — and they may remain off even after rebooting. If you then use quote marks, you may find that you are entering straight, non-typographical quote marks into the current document instead of typographical quotes. If this happens, you can use the QC.wcm macro above to turn SmartQuotes (and other QuickCorrect settings) back on, then play Convert quote markks.wcm to convert all quote marks to typographical quotes.

You can assign any macro to a menu, toolbar, or keyboard shortcut ("hot key"). See https://wptoolbox.com/tips/EasyPlay.html.