How to write macro to search files from Word

  • Thread starter Douglas J. Steele
  • Start date
D

Douglas J. Steele

I think you'd be best off reposting this to a newsgroup such as
microsoft.public.word.programming, or one of the various groups under
microsoft.public.word.vba.

This newsgroup is for questions about macros in Access, the database product
that's part of Office Professional. While both Access and Word have objects
called Macros in them, there's no similarity between them.
 
I

IA

I wrote several macros in Word 95 and 97 which were searching for files with
specific words in the file text, but I cannot convert them into Word 2003 or
write new macro in Word 2003 of this type. I cannot insert words for search
into the "text or property" property in the FileSearch object and cannot
write the expression for search "Word 1" AND "Word 2" in the file. In the
early versions of Word Basic it was enough to insert "&" between the search
words, but I do not understand how to make it in Word 2003.
I tryed to record macro from screen, but Word 2003 display empty window
after recording such macro.
I cannot use earlier version of Word, because they cannot open htm files
without crash.
I make my life money with searching files in Word, and I am currently in
the dead end.

I am not a programmer, but live forced me to do the simple things with
macro.
Please, if somebody has the idea, help me.

Petr Dombrovski, Graz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top