+ Reply to Thread
Results 1 to 3 of 3

VBA to pick and omit

  1. #1
    Registered User
    Join Date
    09-08-2016
    Location
    Oregon Wine Country
    MS-Off Ver
    2010
    Posts
    44

    VBA to pick and omit

    Hello All
    I am making a user form that will choose a data set that has an identifier that begins with a number between 01 and 24 (Example 01-BLB) based electrical resistance measurements for that data set. Once a number has been used, it has to be omitted from future selections. Is there a command or function that will disregard all data sets based past selections? The identifiers will be written to a second sheet as they are selected, so there will be a record to refer to for numbers to omit (see below).

    01-BLA
    09-TRA
    06-TRA
    15-TRA
    21-TRA

    Thanks in advance
    Willy

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,088

    Re: VBA to pick and omit

    How to you want to track items already selected ?
    It can be done by updating a list in memory but when the file is closed this list will disappear.
    Or it can be recorded somewhere in Excel file and review when the file is open
    How do you see the story?
    - Battle without fear gives no glory - Just try

  3. #3
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: VBA to pick and omit

    a user form that will choose a data set that has an identifier that begins with a number between 01 and 24
    Is this selection made via a Combobox that is populated from a range...
    If so, perhaps you could run a check to see if the selection is found in the secondary sheet before proceeding!
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

+ 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. Replies: 3
    Last Post: 12-08-2016, 10:37 AM
  2. Replies: 0
    Last Post: 05-25-2014, 02:33 PM
  3. Pick diff pick list as per column value
    By ROHAN999 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-10-2013, 12:10 PM
  4. Create userform that allows user to pick a color, then have macro reference the color pick
    By submariner18 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-21-2013, 05:04 PM
  5. [SOLVED] How to omit row from a range?
    By jonnytales in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-20-2012, 02:13 PM
  6. Excel 2007 : Pick-List pick fills in another cell
    By hpasso217 in forum Excel General
    Replies: 0
    Last Post: 02-28-2011, 05:38 PM
  7. Replies: 1
    Last Post: 06-27-2005, 07: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