Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disabling the standard X-Button?


Hi only a quickie!

I know you can disable the ‘red’ X–button (close button) from
userforms, but can you disable users exiting excel via the standard
‘red’ X button at the top right of the screen?

Many Thanks
Dave


--
DHallam
------------------------------------------------------------------------
DHallam's Profile: http://www.excelforum.com/member.php...o&userid=25253
View this thread: http://www.excelforum.com/showthread...hreadid=387479

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disabling the standard X-Button?


Hi,

I have followed the first code previously posted and have worked the
first one out. However I think it would be a better idea to disable
the function completely but can not figure out where to place the code
for the second example. If you could shed some light on this i would
be very grateful.

Thanx
Dave


--
DHallam
------------------------------------------------------------------------
DHallam's Profile: http://www.excelforum.com/member.php...o&userid=25253
View this thread: http://www.excelforum.com/showthread...hreadid=387479

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Disabling the standard X-Button?

You must run it from a normal module

But I think it is not a good idea to use it.
I now I will never use a program that do this

--
Regards Ron de Bruin
http://www.rondebruin.nl


"DHallam" wrote in message
...

Hi,

I have followed the first code previously posted and have worked the
first one out. However I think it would be a better idea to disable
the function completely but can not figure out where to place the code
for the second example. If you could shed some light on this i would
be very grateful.

Thanx
Dave


--
DHallam
------------------------------------------------------------------------
DHallam's Profile: http://www.excelforum.com/member.php...o&userid=25253
View this thread: http://www.excelforum.com/showthread...hreadid=387479



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
Disabling code using a button? Simon Lloyd[_505_] Excel Programming 6 June 23rd 04 02:16 PM
Disabling Excel X Application Button Nigel[_8_] Excel Programming 18 April 18th 04 07:13 AM
disabling a command button Paul James[_3_] Excel Programming 16 February 18th 04 07:10 AM
disabling cells based on cmd button Consuelo Excel Programming 1 September 20th 03 09:44 AM
Disabling font color button Michael Singmin Excel Programming 1 September 16th 03 10:32 PM


All times are GMT +1. The time now is 09:29 AM.

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"