B
Barry Watson
Ok, bear with me. Here's what I want to do:
I create a Word application in Visual Basic.
I use it to open a Word document (*.doc).
I save the file as an .htm file.
(So far I can do all of this.)
Now I need to open the .htm file I created
and find and replace the <title>Page Title</title>
tags with values I dynamically create in my
VB app.
I need to do this for a folder of documents...
I know how to use the filesystemobject to get a
collection of files and step through them.
The problem is when I save the .doc file as .htm,
I can't see the html source of the document so I
can't run a find & replace on the <title> tag. I
need to know the VB code to view the source in
my Word object so I can replace the <title> tag.
Any help would be greatly appreciated and oh yeah,
I need the answer like last week... lol...
Barry
I create a Word application in Visual Basic.
I use it to open a Word document (*.doc).
I save the file as an .htm file.
(So far I can do all of this.)
Now I need to open the .htm file I created
and find and replace the <title>Page Title</title>
tags with values I dynamically create in my
VB app.
I need to do this for a folder of documents...
I know how to use the filesystemobject to get a
collection of files and step through them.
The problem is when I save the .doc file as .htm,
I can't see the html source of the document so I
can't run a find & replace on the <title> tag. I
need to know the VB code to view the source in
my Word object so I can replace the <title> tag.
Any help would be greatly appreciated and oh yeah,
I need the answer like last week... lol...
Barry