Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Macro problems

I created the following macro in MS VS in order to publish an excel chart
periodically;

Sub Auto_Open()
ActiveWorkbook.PublishObjects.Add(xlSourceChart, _
"C:\Book3.htm" _
, "Chart1", "", xlHtmlStatic, "Book3_11572", _
"Chart Title").Publish (True)
Application.OnTime Now + TimeValue("00:01:00"), _
"Auto_Open"
End Sub.

I get the following error -' runtime error 1004 - Application Defined or
Object Defined error'. Can anyone see what is wrong with the above macro?
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
Macro problems Father John Excel Discussion (Misc queries) 3 April 20th 10 11:24 PM
Macro problems Heine Excel Worksheet Functions 9 October 31st 06 11:01 AM
Macro Problems gillj Excel Discussion (Misc queries) 1 May 6th 06 11:51 AM
Macro problems Retta Excel Worksheet Functions 2 May 18th 05 10:39 PM
various macro problems legepe[_11_] Excel Programming 1 October 23rd 04 09:59 PM


All times are GMT +1. The time now is 02:47 PM.

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"