Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
JeremyC
 
Posts: n/a
Default Using find and replace or macros to replace page ranges

I am using Word 2003, but if I can successfully figure out how to do this, I
would also like to be able to do the same on Word 2004 for Mac.

I am trying to figure out a way to automate replacing numbers in page ranges
to match the Chicago Manual of Style. For instance, I need to change 149-167
to 149-67, but not 149-249 to 149-49 or not 106-108 to 106-08 (instead that
should go to 106-8). I'm not sure I have thought out all the exceptions,
though these are the most basic. I am mainly looking for the methodology to
use, whether through find and replace or macros. I don't want to spend too
much time trying to figure it out, because I'm not sure the return will be
worth a lot of time invested.

I know that by using wildcard search and replace I can do most of this. For
instance, I could search for
([!0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9]) and replace with
\1\2\3\4\\5\6, replacing something like 125126 to "12526. But that
doesn't help me with all because I would still have to make adjustments for
the above-mentioned exceptions.

If automating using macros is the best choice, I would also like to figure
out a way to double-check that changes were made correctly and there were no
mistakes. So is it possible to write into the macro (if doing a macro) to
copy all replacements (or all things being replaced) into a blank word
document to be able to quickly scan all instances of replacements? Or to
highlight all changes made in the document to be able to quickly pick up what
was changed?

Does this make sense? Can anyone help? Thanks.
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Replace GREEK symbols in XP, 2K & 97 Jazz Microsoft Word Help 3 April 8th 05 08:13 PM
Find and Replace Michael R New Users 11 January 22nd 05 05:31 PM
Find and Replace anomaly BruceM Microsoft Word Help 7 January 18th 05 05:47 PM
A "Ctrl + Page Down" doe a "find and replace", Why? rarrigo Microsoft Word Help 1 January 13th 05 09:00 PM
find and replace symbols Tewodaj New Users 8 January 11th 05 02:22 AM


All times are GMT +1. The time now is 11:09 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"