+ Reply to Thread
Results 1 to 2 of 2

userform to display data and edit it

  1. #1
    Registered User
    Join Date
    07-19-2014
    Location
    uk
    MS-Off Ver
    2010
    Posts
    3

    userform to display data and edit it

    Hi all,

    I need to build a userform that will allow me to display data from a worksheet and also to be able to edit it.

    So far, I have managed to to do a search button that finds a value from the first column and based on that cell value, displays all values from that row.

    Please Login or Register  to view this content.
    The problem with this code is that it doesn't clear the textbox if I do another search. How can I achieve this?

    Also, how can I code the Update button so that if a change one of the values displayed on the textboxes it will write it back to the worksheet?

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: userform to display data and edit it

    Here you go. Make sure the variable rFind stays declared as a public variable:

    Please Login or Register  to view this content.

+ 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. UserForm : i need a userform to add data, delete data, edit data
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-08-2014, 01:59 AM
  2. [SOLVED] Userform text box to display and edit a single cell only
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 5
    Last Post: 11-25-2013, 08:50 AM
  3. Edit Data through UserForm
    By sgp in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 11-13-2011, 06:04 AM
  4. Display a UserForm based on Data selected in another UserForm's ListBox
    By RPhilbin83 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-26-2011, 11:35 AM
  5. Userform to edit data
    By randolphoralph in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2008, 07:27 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