+ Reply to Thread
Results 1 to 2 of 2

ClearContents of all other Cells in Range if "Y" in List Box is selected

  1. #1
    Registered User
    Join Date
    03-04-2018
    Location
    USA
    MS-Off Ver
    2016
    Posts
    3

    ClearContents of all other Cells in Range if "Y" in List Box is selected

    Hi everyone

    I am trying to create column B of the worksheet where the user can select "Y" in the list box. each cell of column B will give the user a choice to select "Y".
    If Y is selected, then a range of cells in that respective Row gets copied over to another sheet.

    The issue I am facing is this; I would like to clear any existing "Y" that might have previously been selected at the same time when the user making a new "Y" selection from the dropdown box.

    Here is the code I currently have;

    Please Login or Register  to view this content.
    Any help will be much appreciated!

    WilliamL

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: ClearContents of all other Cells in Range if "Y" in List Box is selected

    I'd change things around a bit and clear the "Y" after I'd processed it:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  2. Replies: 0
    Last Post: 03-21-2014, 09:58 AM
  3. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  4. Range.ClearContents "fails"
    By hansaaa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-28-2013, 11:11 AM
  5. Replies: 3
    Last Post: 04-14-2013, 11:53 PM
  6. [SOLVED] Pasting values between ranges in different workbooks: "Range" works but "Cells" doesn't
    By Flaubert in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2013, 01:19 PM
  7. Problem using "Cells" in "Range" "400" error
    By johnnywinter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2009, 05:46 PM

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