+ Reply to Thread
Results 1 to 4 of 4

Select Row from worksheet and update by userform

  1. #1
    Registered User
    Join Date
    08-03-2011
    Location
    Norwich
    MS-Off Ver
    Excel 2010
    Posts
    28

    Select Row from worksheet and update by userform

    Excel 2010

    Hi all, I have a worksheet where the data is entered from a userform which all works lovely.

    There is more data that needs to be added to the row some time after the initial record is entered.

    What I am aiming at is a new userform to update the row. I have created the form and the 1st box is the id, which is an 8 digit number unique to each entry, the second box is the customers reference

    What I need to do is enter this 8 digit number, the customers reference will appear in the 2nd box for validation (already entered in form 1) and then fill in the rest of the data and then save it to the same row with an offset of 8 columns. I have searched the web for days looking for an example I could use, but I cant seem to find anything that directly relates to what I am trying to do.

    Could anyone possible give me any hints on where to start or a link to a code example, starting to drive me nuts :p

    Many Thanks

    Dave

  2. #2
    Forum Contributor mccrimmon's Avatar
    Join Date
    02-19-2004
    Location
    Scotland
    MS-Off Ver
    2003
    Posts
    249

    Re: Select Row from worksheet and update by userform

    So let me understand this correctly.

    You basically want to enter the Unique Reference on the second form and once you have entered the data you want that unique reference rows data to be updated on the sheet?
    McCrimmon

  3. #3
    Registered User
    Join Date
    08-03-2011
    Location
    Norwich
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Select Row from worksheet and update by userform

    Hi McCrimmon,

    Correct, thats exactly what I am after.

    Basically (example only!(
    Form 1

    A,B,C,D is entered

    Form 2
    A is entered, B is shown just for validating correct id, E F & G are entered and added to the existing row for ABC&D

    Hope that clears it up!

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Select Row from worksheet and update by userform

    hi,
    as an option
    try and see if it helps you. adjust it for your needs.
    (call the userform and type "id", it will be displayed...then change teh info!)
    Attached Files Attached Files
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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