+ Reply to Thread
Results 1 to 8 of 8

Userform Verification

  1. #1
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Userform Verification

    I would like to add a piece of code into the user form that will check and verify if a part has already been added so as to avoid multiples in a user-driven/created database.

    here is a repost of the current code i am using for the user form (I have posted it before in another thread .. Blane245 helped me out with a different question I had)

    Please Login or Register  to view this content.
    Last edited by jabryantiii; 02-17-2010 at 07:35 PM.

  2. #2
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Userform Verification

    on a side question, do you have to choose "Multipage" prior to starting your user form or can you add it after the fact? So far in trying to add it after the fact it covers up my original work. Anyone know how to set it so it doesnt if you can add it after the fact?

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

    Re: Userform Verification

    I can't follow your question, what do you mean by re-post? Don't start a new thread if the old one is not solved!

    Your second question also makes no sense, in any case stick to one question per thread
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Userform Verification

    Sorry what I meant by re-post had everything to do with the code and nothing to do with the question. I have posted this code in a now "solved" thread. This is a new question that just happens to be related to the same code that I had posted previously.

    As for my second question <please feel free to ignore it> I just asked it because I was looking at the user form and experimenting with the design of it.

  5. #5
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Userform Verification

    Minus my second question, I am looking for a way to check when adding a part via the user form that the part is not currently in the database. If there is a simple way to do this that would be great. Additionally if there is a way to do this that would allow the ability to update that information that would be great too.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

    Re: Userform Verification

    I really can't see why you are writing to two database sheets.

    This might be what you mean

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-28-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    98

    Re: Userform Verification

    the reason for two database sheets is for two reasons. First the main DB sheet is a hidden sheet that is master of all the parts. The second DB sheet(s) are actual sheets the user can see and pick an itme from. I have another piece of code in place that allows the user to click a cell make it active and then click a button that is coded to add the active cell to a "Bid Sheet". the whole thing works really smooth so far. I am sure there is probably an easier cleaner solution for what my end goal is but as of right now this is doing exactly what I need.

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

    Re: Userform Verification

    I still can't see why you need to duplicate data. Does the code that I amended do what you want?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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