Find and Replace-VBA

K

KC8DCN

Hello,

I have an automated routine set up to search for specifc items within a Word
document and then extract it. Recently, things have changed and I need to
change the criteria. I need to search for the following:

[space or number][number] 6 spaces [space or number][number] end of line

Examples: 3 30
30 7
32 10

The search criteria that I have tried only find certain ones, not all. Is
there a combination that I can use to find all of the above combinations?

Help is appreciated. Thanks.
 
B

Birgit

Hi,

Have a look at the wildcards. In the help is a list of the
regular-expression marks that you can use.

I found the help topic quickest bij going into the replace dialog, show the
whole dialog, click on the questionmark and klik on the wildcards switch. In
the help you get to see is a section on using wildcards. I used Word 2003.

HTH,
Birgit
 
Top