CTRL+Break Public Function

Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: CTRL+Break Public Function

  1. #1
    New Member
    Join Date
    Dec 2012
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question CTRL+Break Public Function

     
    Is there any way to write a public function that will trigger if code execution is ever cancelled by a user.
    For security reasons, I would like to program it in so that if the user breaks the code or if there is an error I didn't catch the program automatically brings the user to a "safe" place in the program. I want to do this to avoid potential access to sensitive data.

    I've already built in every other security measure I can think of including hiding the data, checking user security when the page is changed or activated, required password changes, etc.

    The cntrl+break function is the only thing left.

    Thanks to anyone who can help.

  2. #2
    MrExcel MVP
    Moderator
    Scott Huish's Avatar
    Join Date
    Mar 2004
    Location
    Oregon
    Posts
    19,225
    Post Thanks / Like
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Default Re: CTRL+Break Public Function

    Office 2010/365

  3. #3
    MrExcel MVP mikerickson's Avatar
    Join Date
    Jan 2007
    Location
    Davis CA
    Posts
    21,372
    Post Thanks / Like
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Default Re: CTRL+Break Public Function

      
    Nice link! Thanks!

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com