View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Huber57 Huber57 is offline
external usenet poster
 
Posts: 22
Default Extract text strings

Suzanne,

That is great. I am now struggling with the search language.

I tried '*' to get anything within quotes but I don't think it is acting as
a wildcard to return any number of characters.

how would i search for strings or differing lengths at one time?

Sincerely,

Doug

"Suzanne S. Barnhill" wrote:

If you have Word 2003 or above, you can use the "Find All" feature to do
this; see
http://sbarnhill.mvps.org/WordFAQs/S...ngSelectedText
(scroll up from that section to get the intro to Find All).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Huber57" wrote in message
...
To all:

I have looked throughout the forum and cannot find the solution to my
problem.

I have a document that has text strings within single quotes (e.g. 'this
is
sample text')

I need to pull all of these out and place them in another document (or
preferrably an excel spreadsheet).

If someone could point me to some VBA code, that would be much
appreciated.



.