Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2007

Tip: Looking for answers? Try searching our database.

Saving .doc as .html with vba

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Asger - 27 Jun 2007 11:30 GMT
Hi all,

I need to convert some .doc files to .html with vba. I tried to record a
macro that did this but to save the file it has a static name eg.
"filename.doc" becomes "filename.html".  And that is also recorded in the
macro. Is there anyone who can help me make it so that the file name of the
saved file is the name of the current document?

Thanks asger
michael.jarratt@gmail.com - 27 Jun 2007 11:53 GMT
> Hi all,
>
[quoted text clipped - 5 lines]
>
> Thanks asger

Hi

Not sure if this will help but you could try the following

http://www.microsoft.com/technet/scriptcenter/scripts/default.mspx?mfr=true

and

http://www.microsoft.com/technet/scriptcenter/resources/qanda/feb05/hey0218.mspx

Regards
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.