There are three stages to what I am trying to do:Stage 1: A macro runs to
format the text of a Word document, it searches/replaces/sets fonts/styles
etc
Stage 2: "Save As HTML" (on File Menu) - i.e. Convert .doc file to .htm
fileStage 3: A macro runs to do some work (search/replace etc) on the HTML
source generated by Word and save htm againStage 2 is where I am stuck! It
is important for speed that we can select the path and filename for the
resulting .htm file so I want to do:
Dialogs(wdDialogFileSaveAs).Display (or .show) but for speed I want to set
the file format ("Save As Type") to "HTML Document" so we only have to enter
name and select the path in the dialog window
After we have entered the file name/path I want to continue stage 3
processes on the .htm file
Any ideas?The OS are two: Win NT and Win XP. The Versions of Word are two:
97 & 2000. The macros are in a global template in a shared network
location.My three colleagues and I use Outlook to receive Word files to go
on our intranet and we use Dreamweaver to apply templates and publish them,
we are always short of time when the work arrives so any help appreciated
Thanks in advance
Paul
Doug Robbins - Word MVP - 01 Jul 2003 22:11 GMT
Hi Paul,
You may be able to use the information in the article ?How to allow the user
to browse to and select a folder? at:
http://www.mvps.org/word/FAQs/MacrosVBA/BrowsDialog.htm
Please respond to the newsgroups for the benefit of others who may be
interested.
Hope this helps
Doug Robbins - Word MVP
> There are three stages to what I am trying to do:Stage 1: A macro runs to
> format the text of a Word document, it searches/replaces/sets fonts/styles
[quoted text clipped - 20 lines]
> Thanks in advance
> Paul