Re: Pulling out words in capitals from word doc
- From: "Gem_man" <Gemman@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 31 Jul 2005 22:23:01 -0700
Thanks Jay,
Yes, copy them them to a new word. The ultimate intention is to arrange
these words in alphabetical order.
regards
"Jay Freedman" wrote:
> On Sun, 31 Jul 2005 16:27:02 -0700, "Gem_man"
> <Gemman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >Plesae could someone help me out with some code to extract words that appear
> >in CAPITAL LETTERS in a word document?
> >
> >I cannot find any reference to this in VBA help files.
> >
> >Many thanks
>
> The general approach is to use a wildcard search (see
> http://www.gmayor.com/replace_using_wildcards.htm) and search for the
> expression
>
> <[A-Z]@>
>
> That will find each word that consists of only upper case letters.
>
> What you do with the word once you find it depends on what you mean by
> "extract". Do you want to copy them to another document?
>
> --
> Regards,
> Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org
>
.
- Follow-Ups:
- Re: Pulling out words in capitals from word doc
- From: Doug Robbins
- Re: Pulling out words in capitals from word doc
- From: Helmut Weber
- Re: Pulling out words in capitals from word doc
- References:
- Pulling out words in capitals from word doc
- From: Gem_man
- Re: Pulling out words in capitals from word doc
- From: Jay Freedman
- Pulling out words in capitals from word doc
- Prev by Date: Re: Pulling out words in capitals from word doc
- Next by Date: Re: Pulling out words in capitals from word doc
- Previous by thread: Re: Pulling out words in capitals from word doc
- Next by thread: Re: Pulling out words in capitals from word doc
- Index(es):
Relevant Pages
|