Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Publish an Excel 2003 Chart to HTML file
Please can someone help publish my Excel chart to an HTML file using a
macro. I found the code: With ActiveWorkbook.PublishObjects.Add(SourceType:=xlSo urceChart, _ Filename:="C:\Work.htm", Sheet:="Chart1", Source:="Chart 1", _ HtmlType:=xlHtmlStatic, DivID:="Chart1_04") .Publish (True) End With But it does not work, I receive the error "Compile error: Expected Function or variable". Can anyone help? Thanks, Brett |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2007 - publish chart as htm web page file | Charts and Charting in Excel | |||
How can I open an Excel 2003 HTML file in Excel 2007 | Setting up and Configuration of Excel | |||
Excel 2003 does not open html file correctly | Excel Discussion (Misc queries) | |||
Missing Chart Text Boxes in XL2003 Html Publish | Excel Programming | |||
publish one (and only one) html file? | Excel Programming |