Delete space

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello from Steved

If I have a character followed by a space then an = how do i delete the
space in a macro.

Thankyou.
 
Just use Edit>Replace.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
If you want to replace the space between some character and the = sign, you
can just replace a space followed by = with =.

If you only want to remove the space between some specific character X and
the = sign, check "Match wildcards", then:
Find what: (X) (=)
Replace with: \1\2

X would be your character, and note the space between (X) and (=).

Stuff in (brackets) can be re-used:
\1 inserts the first (bracketed expression), \2 the second, and so on.

If you have a whole list of characters X, Y, Z, and want to remove the space
between any of them and the =, use ([XYZ]) instead of (X).

Greetings,
Klaus
 
Thankyou all very much.

Klaus Linke said:
If you want to replace the space between some character and the = sign, you
can just replace a space followed by = with =.

If you only want to remove the space between some specific character X and
the = sign, check "Match wildcards", then:
Find what: (X) (=)
Replace with: \1\2

X would be your character, and note the space between (X) and (=).

Stuff in (brackets) can be re-used:
\1 inserts the first (bracketed expression), \2 the second, and so on.

If you have a whole list of characters X, Y, Z, and want to remove the space
between any of them and the =, use ([XYZ]) instead of (X).

Greetings,
Klaus


Graham Mayor said:
See http://www.gmayor.com/replace_using_wildcards.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top