Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 989
Default Publish method failing, can't understand why

(Excel 2002)
Have a button on a sheet2, which fires following code:

ActiveWorkbook.PublishObjects.Add( _
SourceType:=xlSourceChart, _
Filename:="C:\tempHold\test.htm", _
Sheet:="Chart1", _
Source:="", _
HtmlType:=xlHtmlStatic).Publish

Getting error 1004: method publish of publishobjects failed

I can't figure out why. What could I be missing???
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failing with formula Charlie Excel Discussion (Misc queries) 8 August 5th 09 02:54 PM
Excel Copy Method Failing. [email protected] Excel Programming 2 May 11th 05 06:01 PM
select method of range class failing ? mark kubicki Excel Programming 6 April 21st 05 05:38 PM
add method of validation failing mark kubicki Excel Programming 2 April 19th 05 08:08 PM
Macro failing Syd[_3_] Excel Programming 0 September 17th 03 02:51 PM


All times are GMT +1. The time now is 03:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"