#1   Report Post  
Steved
 
Posts: n/a
Default Delete space

Hello from Steved

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

Thankyou.
  #2   Report Post  
Doug Robbins
 
Posts: n/a
Default

Just use EditReplace.

--
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
"Steved" wrote in message
...
Hello from Steved

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

Thankyou.



  #3   Report Post  
Graham Mayor
 
Posts: n/a
Default

See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Steved wrote:
Hello from Steved

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

Thankyou.



  #4   Report Post  
Klaus Linke
 
Posts: n/a
Default

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" wrote:

See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Steved wrote:
Hello from Steved

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

Thankyou.




  #5   Report Post  
Steved
 
Posts: n/a
Default

Thankyou all very much.

"Klaus Linke" wrote:

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" wrote:

See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Steved wrote:
Hello from Steved

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

Thankyou.




Reply
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
How to delete a 3 dot extension and why? Chad Harris New Users 10 July 27th 05 02:27 PM
How to delete a line created by equal signs? It won't delete from dial911book Microsoft Word Help 4 April 25th 05 01:17 PM
How do I stop Word from asking Delete Block? RodL Microsoft Word Help 1 April 20th 05 02:06 AM
Why did "delete" key discontinue to delete a selected word, line . Walter Microsoft Word Help 1 March 2nd 05 08:56 PM
Replace Single Space with Double Space John R. Baker New Users 3 December 11th 04 05:15 AM


All times are GMT +1. The time now is 08:13 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"