#1   Report Post  
Brisbane Rob
 
Posts: n/a
Default Exit via macro only?


Hello out there.

Is it possible to 'force' a user to exit a spreadsheet only via a
macro? i.e. is it possible to disable the "Close" command but activate
it again in their setup after they've exited the spreadsheet in
question?

Rob


--
Brisbane Rob
------------------------------------------------------------------------
Brisbane Rob's Profile: http://www.excelforum.com/member.php...o&userid=25096
View this thread: http://www.excelforum.com/showthread...hreadid=475774

  #2   Report Post  
Jezebel
 
Posts: n/a
Default

It's "sort of" possible in a theoretical way -- you remove the menu options
and trap the commands -- but it never really works in practice, and you
can't actually *force* the user as such. There are always ways around it
(most obviously, by disabling macros). Don't go there. Come up with another
design for your application.






"Brisbane Rob"
wrote in message
news:Brisbane.Rob.1wuamd_1129205106.2044@excelforu m-nospam.com...

Hello out there.

Is it possible to 'force' a user to exit a spreadsheet only via a
macro? i.e. is it possible to disable the "Close" command but activate
it again in their setup after they've exited the spreadsheet in
question?

Rob


--
Brisbane Rob
------------------------------------------------------------------------
Brisbane Rob's Profile:
http://www.excelforum.com/member.php...o&userid=25096
View this thread: http://www.excelforum.com/showthread...hreadid=475774



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
[Fwd: Run macro on exit worksheet/workbook] toontje Excel Discussion (Misc queries) 1 August 5th 05 03:49 AM
Run macro on exit worksheet/workbook toontje Excel Worksheet Functions 3 August 2nd 05 10:15 PM
Macro: Exit active workbook without save? Don Excel Worksheet Functions 0 May 20th 05 06:47 AM
on exit macro ditchy Excel Discussion (Misc queries) 2 May 3rd 05 12:11 AM
Date macro Hiking Excel Discussion (Misc queries) 9 February 3rd 05 12:40 AM


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