+ Reply to Thread
Results 1 to 6 of 6

force to press button before leave a sheet

  1. #1
    Registered User
    Join Date
    12-24-2014
    Location
    NY
    MS-Off Ver
    2010
    Posts
    4

    force to press button before leave a sheet

    Hi!

    I need to create a macro that force you to press a button before you leave the sheet. Is it possible?
    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: force to press button before leave a sheet


    Hi !

    Maybe using Worksheet_Deactivate event …

  3. #3
    Registered User
    Join Date
    12-24-2014
    Location
    NY
    MS-Off Ver
    2010
    Posts
    4

    Re: force to press button before leave a sheet

    I have already tried with that command and it is not possible, error

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: force to press button before leave a sheet



    Error just means a bad code, no that is not possible !

  5. #5
    Registered User
    Join Date
    12-24-2014
    Location
    NY
    MS-Off Ver
    2010
    Posts
    4

    Re: force to press button before leave a sheet

    You have a point!

  6. #6
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool See a good code !


    Please Login or Register  to view this content.
    Do you like it ? So thanks to click on bottom left star icon « Add Reputation » !

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to add the press effect of a button?
    By TheOllie in forum Excel General
    Replies: 16
    Last Post: 06-07-2014, 05:29 AM
  2. Force user to enable macros, only work if press save
    By Blokeman in forum Excel General
    Replies: 0
    Last Post: 03-09-2013, 10:25 PM
  3. Replies: 17
    Last Post: 05-19-2009, 11:34 AM
  4. [SOLVED] Button to set colour of selected cells & then force sheet calculat
    By Neil Goldwasser in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-10-2005, 08:00 AM
  5. Replies: 2
    Last Post: 07-20-2005, 10:05 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1