Find text in a word document
Go to the Word Macro webpage. Moving around in the wrod document isn't
simple and it would be better to get help with the word experts.. you c an
still running the macro in excel. You need to create a wordobject in excel
using either GetObject or or Createobject and then open the word document
set Wordobj = GetObject(filename:="c:\temp\word.doc") ' put this in excel
Then reference the macro that you get from the word experts using WordObj in
front of the word macro commands.
"DR Bellavance" wrote:
I have an Excel workbook with a range of cells that contain some text. I
need to find all instances of the text in a seperate Word document then, in
an adjacent cell on the Excel workbook, paste all the paragraph headers where
the text was found in the word document. Can anyone give me a clue??? I am
using Excel 2007 on a Windows XP Pro system.
--
DR Bellavance
|