Discussion:
How to format a Frontpage automatically?
(too old to reply)
Al
2003-08-28 14:46:00 UTC
Permalink
We upload word files unto Intranet web site. Usually, we copy/paste a
Word file onto Frontpage and format it. Take an example, the format is
pretty stable:
Provider ABC (Normal.title)
Effective:(Normal/bold) 01/02/2003(Normal)
Line of Business: (Normal/bold) POS (Normal)...

Right now I have hundreds of Word files to be uploaded. It will be
disastrous to do the files one by one! I wonder if I can use some VBA
codes to read the word file and format and save it as html file
automatically. I play VBA with Excel often, but have no idea how to do
it in Frontpage. Anyone has an idea? Please help.
Stefan B Rusynko
2003-08-28 16:34:38 UTC
Permalink
This visual basic newsgroup has been discontinued.
You may wish to post any follow-ups in
microsoft.public.frontpage.programming

Format it in Word, and you can open FP from a Word VBA
See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbaxl10/html/xlhowcontrollingapps.asp
FrontPage is not listed under the OLE Programmatic Identifiers in Office XP Help
(Office Help references are limited to the core Microsoft Office products),
But FrontPage is supported as an Identifier either using:
CreateObject("FrontPage.Application",), or GetObject(, "FrontPage.Application")
- both of which require error checking for another instance of FrontPage
(only 1 instance of the application can be addressed by VBA)
--
_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Al" <***@hotvoice.com> wrote in message news:***@posting.google.com...
| We upload word files unto Intranet web site. Usually, we copy/paste a
| Word file onto Frontpage and format it. Take an example, the format is
| pretty stable:
| Provider ABC (Normal.title)
| Effective:(Normal/bold) 01/02/2003(Normal)
| Line of Business: (Normal/bold) POS (Normal)...
|
| Right now I have hundreds of Word files to be uploaded. It will be
| disastrous to do the files one by one! I wonder if I can use some VBA
| codes to read the word file and format and save it as html file
| automatically. I play VBA with Excel often, but have no idea how to do
| it in Frontpage. Anyone has an idea? Please help.
Loading...