LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Code execution has been interrupted

Craig,
Seems you're not alone.
Do you still get the error if you remove all add-ins etc that may be trying
to running code ?
Here's one answer
http://www.excelforum.com/archive/in.../t-497013.html

but as I never received this error (unintentionally), I can't really help
that much.

NickHK

"Craig" wrote in message
...
I get this error when the cursor hits the "y = ActiveWorkBook.Name"
line...why?? I'm using Excel 2003. I've also tried declaring "y" as a
string and variant.

For x = 1 To .FoundFiles.Count
Workbooks.Open Filename:=.FoundFiles(x)
y = ActiveWorkbook.Name

Any help would be appreciated. Thanks.
--
Craig



 
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
Code execution has been interrupted LAF Excel Discussion (Misc queries) 2 February 21st 08 03:03 PM
Code execution has been interrupted AnExpertNovice Excel Programming 2 December 30th 05 09:25 PM
Code Execution has been Interrupted JPutman Excel Programming 4 August 24th 04 02:17 PM
Code Execution Has been Interrupted Adrian[_7_] Excel Programming 0 July 30th 04 10:02 AM


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