LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Find paragraphs in word and export to Excel

I'm looking for some sample VBA code to find certain key words in a
Word Document and for each occasion that the word appears, export the
entire sentence and the page number that the sentence appears on, to
an Excel workbook.

So for example, if the key word was "fox" and on page 4 was the
sentence : "The quick brown fox jumped over the lazy dog" - then this
entire sentence would be exported to Excel so that in column 1 was the
sentence and in column 2 would be "4" the page number.

Anyone had reason to do something similar like this?

Matt.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Replace Paragraphs With New Paragraphs In Excel? vselin1 Excel Discussion (Misc queries) 7 July 29th 09 04:21 PM
how to format large word paragraphs into an excel file dingbat Excel Worksheet Functions 1 June 16th 09 07:14 PM
export excel to word kath New Users to Excel 1 April 9th 09 10:22 PM
Export from Excel to Word Kaz G Charts and Charting in Excel 0 March 28th 07 02:52 PM
Moving paragraphs from MS Word to Excel [email protected] Excel Discussion (Misc queries) 3 March 2nd 05 02:36 AM


All times are GMT +1. The time now is 08:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"