View Single Post
 
Old 10-06-2019, 03:09 PM
Genericname1111 Genericname1111 is offline Windows 7 64bit Office 97-2003
Novice
 
Join Date: Aug 2019
Posts: 17
Genericname1111 is on a distinguished road
Default Find/replace - symbol for all numbers or symbol letters (Word 97)

Hi,
For a find/replace macro, is there any character that represents all numbers, so that when I run the macro it finds all number instances and doesn't replace the numbers? I want the numbers to stay the same, but I want to replace parts around the numbers, and it'd be very time-consuming to keep making new copies of code to add each number.
e.g.
page 1 -> page(non-breaking space)2
page 2 -> page(non-breaking space)3
page 3 -> page(non-breaking space)3
etc.
paragraph 1 -> page(non-breaking space)2

But there are lots of different words like that that I want to do it for, so without an all numbers character I'd have to do 10 versions of each macro which would take ages.
Also, is there a symbol for all letters?
I know there are symbols for all numbers and all letters within the find/replace box (e.g. ^$), but they don't seem to work for find/replace which makes me wonder if this is even possible in word 97.

Thanks.

Last edited by Charles Kenyon; 11-11-2019 at 05:45 AM. Reason: Removed 'macro' from title
Reply With Quote