Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Excel extracting Headers and Body text from MS Word

Hi All,

Does anyone know of any code examples of Excel extracting Headers and
Body text from MS Word which can be used and manipulated by excel?

So say if I had header 1,2,3,4 in the MS Word document, and I want to
have the header and body text from header 2 & 4 say to be concatenated
or displayed in the same text box in an Excel UserForm - I am assuming
this is possible, but have no idea where to start.

Can anyone help me please?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Excel extracting Headers and Body text from MS Word

the best place to start would be in a word programming newsgroup. 75% of
your request is specific to programming the word object model, so asking word
experts would lead you to the best solutions for that part of the question.
Putting the text string you get from word into a textbox is trivial.

General information on automating an office application:

http://support.microsoft.com/?id=167223
Microsoft Office 97 Automation Help File Available on MSL

http://support.microsoft.com/?id=260410
OFF2000: Microsoft Office 2000 Automation Help File Available

either should be fine for xl97 - xl2003.

--
Regards,
Tom Ogilvy



"spences10" wrote:

Hi All,

Does anyone know of any code examples of Excel extracting Headers and
Body text from MS Word which can be used and manipulated by excel?

So say if I had header 1,2,3,4 in the MS Word document, and I want to
have the header and body text from header 2 & 4 say to be concatenated
or displayed in the same text box in an Excel UserForm - I am assuming
this is possible, but have no idea where to start.

Can anyone help me please?


Reply
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
Extracting a word form a text string John Calder New Users to Excel 8 October 21st 09 06:04 PM
Extracting and replacing the first word in a String of text RAYCV Excel Worksheet Functions 5 August 21st 09 01:15 PM
Extracting sections of Text from MS Word using VBA code? spences10 Excel Programming 0 January 26th 07 04:12 PM
Extracting a word from a text string Nadeem Excel Discussion (Misc queries) 3 October 12th 06 09:17 AM
How to sort in Excel with headers link to all body parts Sorting in Excel for Item with label. Excel Discussion (Misc queries) 0 December 30th 05 08:20 PM


All times are GMT +1. The time now is 03:46 AM.

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

About Us

"It's about Microsoft Excel"