Publish as webpage

I have created a document in excel and saved the xls document locally.
chExcelApplication:activeWorkBook:SaveAs('C:\EFI\tmp\wrkXL.xls', -4143,,,,,)

Now I am trying to publish the graph produced as a webpage.
I tried the obvious, SaveAs(bob.html), though this does not work. I require
to access excel function to publish as a webpage. Though I am having difficulty
getting it to work, I am using:
chExcelApplication:activeWorkBook:publishObjects:Add("xlSourceSheet", "c:\temp\x.htm", "Sheet1", "", "xlHtmlStatic", "test_27778", "")
Though it doesn`t like that when executed - it falls .down
Any help would be great thank you.
 
Top