atw: Re: SEC: UNCLASS RE: Word's find & replace dialog wildcards

When using wildcards, there is always going to be a problem with using
literal characters that are also wildcards. I went a bit over the top to
show how any character could be represented by an ASCII string for
demonstration purposes and to prevent the endless list of questions like
"What is the ASCII code for a vertical bar?" :-).  

-----Original Message-----
From: austechwriter-bounce@xxxxxxxxxxxxx
[mailto:austechwriter-bounce@xxxxxxxxxxxxx] On Behalf Of Silcock, Howard DR
Sent: Tuesday, 19 July 2005 10:00 AM
To: austechwriter@xxxxxxxxxxxxx
Subject: atw: SEC: UNCLASS RE: Word's find & replace dialog wildcards 

That was very interesting, Steve. 

I've played around with similar ideas, but haven't grappled with all the
subtleties that you mention. I have to admit too that for a long time I
didn't know about (or think of) using ^013 in place of ^p. In a number of
macros I first replaced every ^p by some bizarre character string such as
$#$ (with wildcards off), then did a wildcard replace using $#$ in place of
^p, and finally changed every $#$ back to ^p again. When I read about using
^013 I really kicked myself!

I can't understand why you need to introduce ^040 or ^058 in your other
example, though. Why can't you just use .Find.Text = "(:" and
.Find.Replacement.Text = "("?

Does this run into the same problems as you get with using ^040?

Howard

-------------------------------
     Howard L. Silcock
      Technical Writer
Project Office - Infrastructure
    Department of Defence
       (02) 626 58828
-------------------------------



**************************************************
To post a message to austechwriter, send the message to
austechwriter@xxxxxxxxxxxxxx

To subscribe to austechwriter, send a message to
austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.

To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with
"unsubscribe" in the Subject field.

To search the austechwriter archives, go to
www.freelists.org/archives/austechwriter

To contact the list administrator, send a message to
austechwriter-admins@xxxxxxxxxxxxx
**************************************************


**************************************************
To post a message to austechwriter, send the message to 
austechwriter@xxxxxxxxxxxxxx

To subscribe to austechwriter, send a message to 
austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.

To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with 
"unsubscribe" in the Subject field.

To search the austechwriter archives, go to 
www.freelists.org/archives/austechwriter

To contact the list administrator, send a message to 
austechwriter-admins@xxxxxxxxxxxxx
**************************************************

Other related posts: