+ Reply to Thread
Results 1 to 2 of 2

Help with when YES has been clicked the code will no longer show again.

  1. #1
    Registered User
    Join Date
    06-05-2016
    Location
    England
    MS-Off Ver
    2013
    Posts
    7

    Exclamation Help with when YES has been clicked the code will no longer show again.

    Hello, i have a code which tells me when a person is close to their course.

    It will ask then within 14 days of the course whether i have booked them transport.

    What i would like is that if they click YES, i want this code to no longer run each time i activate the sheet.

    However if they click no, for it to still activate until they click YES.

    Here is the code i have.

    Please Login or Register  to view this content.
    Kind regards,
    Kyle

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Help with when YES has been clicked the code will no longer show again.

    Have a second sheet in the workbook with an attribute of xlveryhidden. In cell A1 of this sheet, record LResponse. Check this cell before executing the code. if it is vbyes, then don't execute the code.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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] Yes/no msgbox -> if no is clicked, show userform with data still in it
    By pclaesen in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-04-2016, 04:16 PM
  2. [SOLVED] VBA code to show updated data in the listbox after the data is entered and button clicked
    By chin67326 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-25-2015, 04:23 AM
  3. Textbox to show values when clicked items on listbox
    By Benjamin2008 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-11-2013, 07:02 PM
  4. [SOLVED] code so that when a cell is clicked, a tick mark goes in the cell that was clicked
    By behnam in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-08-2013, 01:17 PM
  5. Replies: 1
    Last Post: 01-31-2013, 04:18 PM
  6. Replies: 1
    Last Post: 01-24-2012, 02:22 PM
  7. make certain worksheets show/hide when others are clicked
    By olyguy360 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-08-2010, 01:44 PM

Tags for this Thread

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