Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 47
Default Application.OnTime - Macro Cannot Be Found - Internet Explorer

Hi Everyone,

I have an excel spreadsheet (excel 2003 SP3) that is opened from a link on
the internet. It is set to open in excel, not the browser window.

When it runs the Application.OnTime code, it tries to reopen the excel file
and says some message about "The macro "C\ Documents and
Settings\{name}\Local Settings\Temporary Internet
Files\Content.IE5\O5GMECC5\TEST1[1].xls'!Module1.DoStuff' cannot be found.

The code is.....
Application.OnTime Now + TimeSerial(0, 0, 1), ThisWorkbook.Name &
"!Module1.DoStuff"

When I initially opened the TEST1 file, I enabled the macros and the
"DoStuff" macro is in "Module1". I can run the "DoStuff" macro if I just
"Call" it.

I have found that this also happens with the Application.OnKey and
Application.OnAction methods.

The code will work if TEST1.xls is not opened from the internet or it is
opened with FireFox.

Does anyone have any ideas about how I can get the Application.OnTime to see
the macro?

--
Thanks, Cassie
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
how do i call internet explorer from excel using macro asktoknow Excel Discussion (Misc queries) 1 April 23rd 08 12:53 PM
Closing internet explorer in an excel macro ag Excel Programming 2 October 30th 06 11:21 AM
schedule macro - application.OnTime ina Excel Programming 2 May 9th 06 04:27 PM
Excel Macro cannot Run at Internet Explorer 6 WCNW Excel Programming 1 August 17th 05 03:51 AM
Macro not found when spreadsheet viewed in Internet Explorer? Ben Excel Discussion (Misc queries) 1 February 10th 05 07:31 PM


All times are GMT +1. The time now is 12:10 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"