Re: macro to take out spaces
From: boris (anonymous_at_discussions.microsoft.com)
Date: 10/25/04
- Next message: icbm: "Master Documents"
- Previous message: Jason Dulberg: "Re: replace DOT with new path in many files"
- In reply to: Suzanne S. Barnhill: "Re: macro to take out spaces"
- Next in thread: Suzanne S. Barnhill: "Re: macro to take out spaces"
- Reply: Suzanne S. Barnhill: "Re: macro to take out spaces"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 25 Oct 2004 07:06:29 -0700
Suzanne, thanks again, so other than tables, there
shouldn't be any reason that the double paragraph mark
would not be found? Odd, as this document is just one
long series of lines, which now read text, carriage,
carriage, text, etc. Cannot figure it out for the life
of me.
If you can think of anything else, let me know. Would it
be possible for me to email the doc offline (at least a
portion of it) to see if you notice anything? I keep my
machine updated with anti-virus every day, so there
should not be a threat.
Boris
>-----Original Message-----
>If you expand the Find and Replace dialog (click More)
and click on Special,
>you will find a list of such characters. The list is
different for "Find
>what" and "Replace with," and both change if you enable
wildcards. For a
>complete list, see "WD97: Control Codes to Use with Find
and Replace (Edit
>Menu)" at http://support.microsoft.com/?kbid=197855
>
>It has been discovered that for some reason a Replace
operation won't remove
>an empty paragraph before a table. This is inconvenient,
but there is
>apparently no workaround (not even through VBA IIRC).
>
>--
>Suzanne S. Barnhill
>Microsoft MVP (Word)
>Words into Type
>Fairhope, Alabama USA
>Word MVP FAQ site: http://word.mvps.org
>Email cannot be acknowledged; please post all follow-ups
to the newsgroup so
>all may benefit.
>
>"boris" <anonymous@discussions.microsoft.com> wrote in
message
>news:00e901c4ba48$15211dc0$a401280a@phx.gbl...
>> no sooner do I say it's exactly what I needed, than I
come
>> up with another problem...first of all, is there some
>> place that lists all the combinations like ^p which
>> represent non-alphanumeric characters? second, for
some
>> reason, when I first searched for ^p^p and replaced
with
>> ^p, it found several matches. However there are still
>> some that appear to be there (I have the paragraph
marks
>> on), and yet it won't find those when I run the search
>> again. Any idea why this might be? Thx for the
continued
>> help.
>>
>> Boris
>> >-----Original Message-----
>> >Of course. Search for <space>^p and replace with ^p.
If I
>> were doing this, I
>> >would then search for ^p^p and replace with ^p.
>> >
>> >--
>> >Suzanne S. Barnhill
>> >Microsoft MVP (Word)
>> >Words into Type
>> >Fairhope, Alabama USA
>> >Word MVP FAQ site: http://word.mvps.org
>> >Email cannot be acknowledged; please post all follow-
ups
>> to the newsgroup so
>> >all may benefit.
>> >
>> >"boris" <anonymous@discussions.microsoft.com> wrote in
>> message
>> >news:00d501c4ba3c$f330c400$a401280a@phx.gbl...
>> >> Jezebel, thanks very much. I did multiple searches
for
>> >> double spaces and replaced with single. I still
have
>> the
>> >> following problem. I have:
>> >>
>> >> 1) lines ending in carriage return, with the
following
>> >> lines being just carriage returns
>> >> 2) line ending in carriage return, with the
following
>> >> lines being space followed by carriage returns
>> >> 3) after taking out all double spaces that were
leading
>> >> each line, I now still have one space at the
beginning
>> of
>> >> those lines, but cannot search for simply single
spaces,
>> >> since this would take every space. Is there a way
to
>> find
>> >> carriage return followed by space, and replace it
with
>> >> just carriage return?
>> >>
>> >> I think what I need is to know how to represent a
>> carriage
>> >> return in the find/replace dialogue. Then I can
come up
>> >> with the combinations I need to find them. If you
>> happen
>> >> to know what tab is, that would help also.
>> >>
>> >> Thanks much.
>> >>
>> >> boris
>
>.
>
- Next message: icbm: "Master Documents"
- Previous message: Jason Dulberg: "Re: replace DOT with new path in many files"
- In reply to: Suzanne S. Barnhill: "Re: macro to take out spaces"
- Next in thread: Suzanne S. Barnhill: "Re: macro to take out spaces"
- Reply: Suzanne S. Barnhill: "Re: macro to take out spaces"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|