+ Reply to Thread
Results 1 to 6 of 6

Updating Data in Workbook using UserForm

  1. #1
    Registered User
    Join Date
    05-08-2009
    Location
    Brockton
    MS-Off Ver
    Excel 2003
    Posts
    34

    Updating Data in Workbook using UserForm

    Hello All,

    This is my first post here and I've been trying to get this thing working for a while and have not been able to. I have created a userform that enters data into a spreadsheet just fine, but my problem is that I want to be able to search the spreadsheet using one or more of the fields that are also used to enter the data, say I may just need another button on my current form that will be called Find! and once pressed all data will be displayed on the userform ready to be edited by the user.

    Any help will be usefull thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Updating Data in Workbook using UserForm

    Try to use new 'FIND' command in 'RMADATAFORMS' form.
    For example try to find 'rma' string.

    I hope it can help you.

    Regards,
    Antonio
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-08-2009
    Location
    Brockton
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Updating Data in Workbook using UserForm

    That works great, but when I try to update the data it finds what it does is inserts new data line, I want to override/update the data i find

  4. #4
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: Updating Data in Workbook using UserForm

    See attached file.

    Regards,
    Antonio
    Attached Files Attached Files

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

    Re: Updating Data in Workbook using UserForm

    Take a look at the databaseForm here

    http://www.excel-it.com/vba_examples.htm
    It can add, delete, find data
    Last edited by royUK; 05-11-2009 at 10:35 AM.
    Hope that helps.

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

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    05-08-2009
    Location
    Brockton
    MS-Off Ver
    Excel 2003
    Posts
    34

    Re: Updating Data in Workbook using UserForm

    Quote Originally Posted by antoka05 View Post
    See attached file.

    Regards,
    Antonio
    Thanks for all your help man. I did some changes to the form. I've added three rows at the top for tittle, date and some other stuff, but now the issue is the headers in the find form are not coming up right. I tried making some changes to the coding, but since I'm new to this VB thing I couldn't figure it out, took me all night last night with no luck.

    Also I've added a Total Line and a Percentage line. Is it possible to have the program automatically and rows above the Total line? I could add these two line at the top also and it shouldn't be a big deal right?

    Thanks
    Attached Files Attached Files
    Last edited by DRkidd22; 05-11-2009 at 11:54 AM.

+ 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