Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
N10 N10 is offline
external usenet poster
 
Posts: 141
Default Prevent control & break

I interested to know if there is a known way to prevent a user effectively
causing a workbook_open event to halt by disabling the control/break key
strokes.

Ideally I would to include such code, if it exists as the frist line of
the workbook_open code.

Thanks
N10





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Prevent control & break

Look in Excel VBA help at the EnableCancelKey method.

--
Regards,
Tom Ogilvy
"N10" wrote in message
...
I interested to know if there is a known way to prevent a user effectively
causing a workbook_open event to halt by disabling the control/break key
strokes.

Ideally I would to include such code, if it exists as the frist line of
the workbook_open code.

Thanks
N10





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004




  #3   Report Post  
Posted to microsoft.public.excel.programming
N10 N10 is offline
external usenet poster
 
Posts: 141
Default Prevent control & break

Thanks Tom

Just the ticket


Best
N10

"Tom Ogilvy" wrote in message
...
Look in Excel VBA help at the EnableCancelKey method.

--
Regards,
Tom Ogilvy
"N10" wrote in message
...
I interested to know if there is a known way to prevent a user
effectively
causing a workbook_open event to halt by disabling the control/break key
strokes.

Ideally I would to include such code, if it exists as the frist line of
the workbook_open code.

Thanks
N10





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004






---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004


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
blank row after control break GregNga Excel Discussion (Misc queries) 3 September 6th 07 02:55 PM
Skipping line on control break GKW in GA Excel Discussion (Misc queries) 1 January 4th 06 06:55 AM
Cannot Control - Break out of VBA vmegha Excel Discussion (Misc queries) 1 December 22nd 05 02:44 PM
Workbook Open - Prevent CTRL Break Richard Buttrey[_5_] Excel Programming 1 September 2nd 04 01:58 AM
Control & Break Alan.Hutchins Excel Programming 3 July 27th 04 04:23 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"