non-interactive (programmatic) download & save of Excel mht as an xls file

S

sthati

We have a reporting tool that produces excel output as an mht file that
can be opened in IE. Is there a way to programmatically convert the
file to an xls format, without going throught he open -> save process
from within IE?

Thanks!
 
J

Jezebel

Dim pWorkBook as Excel.Workbook

Set pWorkbook = Workbooks.Open(FileName:=....)
pWorkbook.SaveAs FileName:=...., FileFormat:=xlNormal
 

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