+ Reply to Thread
Results 1 to 1 of 1

Inserting info to table with userform based on unique number

  1. #1
    Registered User
    Join Date
    04-26-2016
    Location
    Netherlands
    MS-Off Ver
    2010
    Posts
    1

    Inserting info to table with userform based on unique number

    I'm posting my first thread on this forum after viewing a lot of threads.

    I created a potential database, I want to have our agents add sold equipment data in a different sheet with the help of a userform. The userform ask for IMO number (unique boat number) the sold equipment (3 options) and some other not relevant questions.

    If they click enter on the userform the data is entered in the table/worksheet. This all functions well BUT I don't want that the agent creates a new line for an IMO which was already entered.

    Instead of
    IMO 1 - TRUE - FALSE - TRUE
    IMO 1 - FALSE - TRUE - FALSE

    I would like to have the information added to the line
    IMO 1 - TRUE - TRUE - TRUE

    I've managed to insert a pop up message if the IMO was already entered in the database. This means that one or 2 pieces of equipment are already entered in the table. The pop up alerts the user on this fact.

    Is it possible to have the userform change the data if it's FALSE and the userform states TRUE but if the data is already TRUE, that its left that way?

    If created the following code with the help of the treads I've read so far.

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
    Please Login or Register  to view this content.
    Thanks a lot already!
    Last edited by 6StringJazzer; 04-26-2016 at 08:06 AM. Reason: code tags

+ 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: 6
    Last Post: 11-13-2015, 03:50 PM
  2. Showing Info on a Userform based on Selected Cell
    By aijp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-01-2013, 03:00 PM
  3. Textboxes within Userform to display info based on combobox selection
    By alter54 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-28-2012, 12:40 PM
  4. Count Unique Values based on Specfic info
    By WNErika in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-25-2012, 03:39 PM
  5. Replies: 1
    Last Post: 11-29-2011, 10:52 PM
  6. Reload & edit data by unique ID number into Userform
    By BJ5352 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-06-2010, 10:25 PM
  7. Replies: 1
    Last Post: 07-11-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