Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think you've got the wrong end of the stick here.
Read this site to get a proper understanding of events http://www.cpearson.com/excel/events.htm -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "cgaynor" wrote in message ... Excel uses interrupts to send warning meaasages like the one you mentioned. The EnableEvents command enables or disables these interrups. This is also used to suppress the "Do you want to replace this file" message when saving an existing file in VBA. Try using this: Application.EnableEvents = False ' turns interrupts OFF . [your code] . Application.EnableEvents = True ' turns interrupts back ON Be sure to set to reenable Events after executing your code but before you leave the procedure or else you will not receive any warning messages during the rest of your Excel session. Charlie |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can't Copy and Paste or Paste Special between Excel Workbooks | Excel Discussion (Misc queries) | |||
Copy, paste without file name referenced after paste | Excel Discussion (Misc queries) | |||
Copy; Paste; Paste Special are disabled | Excel Discussion (Misc queries) | |||
Excel cut/Paste Problem: Year changes after data is copy and paste | Excel Discussion (Misc queries) | |||
I cannot paste from one workbook to another. Copy works, paste do. | Excel Discussion (Misc queries) |