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-2024 by Barry MacDonnell. All Rights Reserved.

Page updated Oct 24, 2023

ConvertV - a macro that converts selected text to Initial Capitals, then replaces any (uppercase) "V" and "VS" (versus) in the selected block to their lower-case equivalents

Download ConvertV.ZIP (v1.01; 10/19/06; 4,614 bytes)

Compatible with WordPerfect 8 (c.1997) and later versions

Downloading, Documentation, Modifications, and Support


Related page -

Convert Case - a macro that converts the word under (or to the left of) the cursor, or the word(s) that you have selected, into one of several formats:
• UPPER CASE ['ALL CAPS']
• Initial Capitals for the Main Words ('Title case' or 'Headline case')
• Initial Capitals For All The Words (Alternative Title case)
• Initial capitals for first word ('Sentence case')
• Initial capitals for first word ONLY ('Smart sentence case')
• lower case
• Reverse case of every letter ('cAPS lOCK' fix)


CONVERTV.WCM is a macro that converts (e.g.) SMITH V JONES to Smith v Jones. It was designed primarily to convert legal case names.

Note that you must select the text to process first, then play the macro.

Items processed:

V is converted to v
V. is converted to v.

VS (or Vs) is converted to vs
VS. (or Vs.) is converted to vs.

C
is converted to c    (used in French legal cases)
C. is converted to c.  (used in French legal cases)

Tips

As written, CONVERTV.WCM converts only the items listed above. To quickly convert the case of selected text to one of several other formats see the Convert Case macro (<-left column).

You can modify CONVERTV.WCM to add other search/replace pairs in the redlined area of the code. (Open the macro file for editing with Tools, Macro, Edit; save any edits with the Compile & Save button on the macro toolbar above the edit area.)

You can add this (or any) macro to a toolbar button or keyboard shortcut. See here.


Page Top