View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
rede96 rede96 is offline
external usenet poster
 
Posts: 1
Default trying to search 4 text in a word doc & print page?

I am using VBA to open a word document from Excel, which is no problem
(Using the CreateObject method, Dim wrdApp As Word.Application, Di
wrdDoc As Word.Document etc.)

I would then like to search for a given string in the word document an
then print the current page.

Also, (But it's not that important.) I would then like to close th
word doc and rename it so I know the file has been processed.

Can anyone help me with the VBA code I should use to do this please?

TIA

Re

--
Message posted from http://www.ExcelForum.com