LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 921
Default VBA - error message "Code excecution has been interupted"

Hi,

I am running a macro and I get the error message

"Code excecution has been interupted"

This happens every time I run my macro and it stops in different parts of
the program - for no apparent reason. For example here is where it stopped


Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False 'It stopped here
Selection.NumberFormat = "h:mm:ss AM/PM"
End Sub

I just click on the "run" button and the macro continues without a problem.
Does anyone know what is going on and how to fix this?

Thanks for your help.
 
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
Deleted the pivot table - continue to get the "overlap" error message [email protected] Excel Discussion (Misc queries) 0 September 27th 06 04:07 PM
Adding more than 3 cells (2003)produces "0" but no error message garden girl Excel Worksheet Functions 4 August 30th 06 02:11 PM
"unable to paste link" Excel error message Refund Partners Excel Discussion (Misc queries) 0 June 7th 06 09:44 PM
excel 2003 "french "always reloads with error message when closin didid68 Excel Discussion (Misc queries) 0 March 3rd 06 07:58 AM
Error message "Not enough system resources to display completely." MKode Excel Discussion (Misc queries) 1 March 2nd 06 12:00 PM


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