View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Extract text strings

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.