Results 1 to 3 of 3
Like Tree2Likes
  • 1 Post By Scott Huish
  • 1 Post By mikerickson

CTRL+Break Public Function

This is a discussion on CTRL+Break Public Function within the Excel Questions forums, part of the Question Forums category; Is there any way to write a public function that will trigger if code execution is ever cancelled by a ...

  1. #1
    New Member
    Join Date
    Dec 2012
    Posts
    3

    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
    18,760

    Default Re: CTRL+Break Public Function

    mikerickson likes this.
    Office 2010/2016

  3. #3
    MrExcel MVP mikerickson's Avatar
    Join Date
    Jan 2007
    Location
    Davis CA
    Posts
    20,979

    Default Re: CTRL+Break Public Function

    Nice link! Thanks!
    Scott Huish likes this.

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