How can I read an MS Word file and search and edit it from my pgm

  • Thread starter 50 Years of Programming Experience
  • Start date
5

50 Years of Programming Experience

I have written a complex Excel program using VBA. From VBA I want to be able
to read in a .doc (MS Word) file, and scan its contents looking for certain
key words, then I want to be able to edit the file from my program. How can
I do this?
 
5

50 Years of Programming Experience

I stated in 1956. The companies I have worked for in order are:
Douglas Aircraft (Programmed Burroughs E101)
Philco Ford (Taught Philco 2000 Assembly Lang)
SDC (Developed SIMPAC simulation language in Jovial)
Bunker-Ramo (Taught BR-340 Process Control Computer in Assembly Lang)
IBM (One of the authors of the IBM 360 assembler, also wrote trace program)
Optimum Systems Inc. (Maintained and modified HASP)
Sysorex (Overseas job in Saudi Arabia)
RCA (System Engineer on Aegis Navy Radar simulator)
Infodata (one of the developers of Inquire - a relational DBMS)
E-Systems, Melpar Div (developed a relational DBMS named RELATE for a
special purpose computer)
Input (developed marketing programs in FoxPro)
International Gateways (one of the developers of a call center)
Aerostructures (Novel, VAX, and Oracle system Administrator)
Creative Technology Inc. (Wrote special purpose web crawler)
SAIC (wrote a second special purpose web crawler)
General Dynamics (Lead of a J2EE classified project)
InSequence (System Engineer on NGA GeoScout project)

Currently working on my 4th PhD. Expecting to graduate next Jan.
Dissertation title: "The Use of Textual Data Mining to Detect the
Proliferation of Weapons of Mass Destruction".

Member of Mensa and IPSE, but there is still a LOT that I don't know about
softwatre and systems. That is why I am hoping someone can tell me or point
me in the right direction on how to scan a MS word file from VBA. I can read
it in OK, but I don't know the MS Word format, so I don't know how to scan it
for keywords or to modify it.
 
K

Karl E. Peterson

50 said:
I stated in 1956. The companies I have worked for in order are:
Currently working on my 4th PhD.
Member of Mensa and IPSE, but there is still a LOT that I don't know
about softwatre and systems.

I would've thought you'd have noticed Google by now.
That is why I am hoping someone can
tell me or point me in the right direction on how to scan a MS word
file from VBA.

To repeat:

Another good resource: http://word.mvps.org

Later... Karl
 

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