+ Reply to Thread
Results 1 to 3 of 3

Show Existing data from sheet in textbox and allow input in VBA userform

  1. #1
    Registered User
    Join Date
    03-05-2020
    Location
    hong kong
    MS-Off Ver
    2016
    Posts
    4

    Question Show Existing data from sheet in textbox and allow input in VBA userform

    Hi there,

    I wish the textbox can be filled with information from the sheet once i search with the ID.
    For example, when i type 82412648 in ID textbox and click "Search" there is a lookuo function with the sheet "Masterlist", then the corresponding particulars of the ID, with include the SP name to transaction collected (column C to I) will be filled in the textbox.

    After that, i will input figures in the textboxes when appropriate. I hope there will be an update function where at the end, all my inputted data will fill to the masterlist.

    I have draft the template of the userform. Thankful if anyone can help with a few line of coding and i will try to finish it by myself.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-04-2018
    Location
    Denpasar
    MS-Off Ver
    Excel 2010
    Posts
    777

    Re: Show Existing data from sheet in textbox and allow input in VBA userform

    Maybe something like this ?


    Please Login or Register  to view this content.
    This will only search by ID
    and the ID must be unique, no same ID in column B
    Last edited by karmapala; 04-28-2020 at 03:26 AM.

  3. #3
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: Show Existing data from sheet in textbox and allow input in VBA userform

    Coded the search/find - the update just reverse (cells = textboxes)
    I could have given far more compact code although that would have meant re-arranging your form.
    Try to code the update - any problems ask on the forum.
    torachan.
    Attached Files Attached Files

+ 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. Pre-input Existing data in sheet in textbox for VBA userform
    By cannis in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-06-2020, 04:25 AM
  2. userform textbox to hold and add to existing data
    By bqheng in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-27-2016, 08:30 PM
  3. Textbox must not input data if there are existing in the excel...
    By kent101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2014, 09:16 PM
  4. List existing data in a UserForm Textbox and then be able to change the data.
    By gnaske in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-01-2013, 02:01 PM
  5. [SOLVED] Userform only to input data to Sheet only if textbox contains data/number.
    By BPSJACK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-31-2012, 11:30 AM
  6. Edit existing data in spreadsheet through userform textbox
    By MIFF3436 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-04-2012, 12:17 PM
  7. How show the input message of a data validation list on a textbox
    By votefourpedro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2011, 02:12 PM

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