+ Reply to Thread
Results 1 to 2 of 2

Form to allow user to edit existing data records

  1. #1
    Registered User
    Join Date
    08-08-2021
    Location
    South Africa
    MS-Off Ver
    365
    Posts
    1

    Form to allow user to edit existing data records

    Hi
    Just a question
    I have a data entry form to enter data and copy with VBA to Database
    To edit data ( employee is doing it ) what is the best route to go
    Thanks

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Excel 365 Data Entry Form

    The details are going to be different for every case. There is no one answer to this.

    Is your data entry form a UserForm? Is your database just the Excel file, or is there an external database management system?

    Generally you should give the user a a form to identify what record they want to update. You need to determine what is the key for each record, and allow the user to input the data for the fields that make up the key. This is best done by lists or comboboxes, so the user chooses from existing data, rather than have them just type something in. Then you bring up a UserForm like what you have now, only already populated with the data so that the user can edit it. Then the updated record is saved.

    If you would like help at a concrete level, including actual VBA code to do this, please attach your Excel file. It should include sample data, but no genuine private data. See yellow banner at the top of the page.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Protect worksheets and Allow update and edit the data only through the User form
    By bala04msw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-29-2018, 03:05 PM
  2. Add/Edit Records Data Entry Form (Without VBA)
    By JCostanza in forum Excel General
    Replies: 3
    Last Post: 09-10-2018, 01:40 PM
  3. [SOLVED] Recall the data as it is in the user form to edit and update
    By bala04msw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-29-2018, 02:15 PM
  4. Edit existing excel records using UserForm
    By bluesky63 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 05-28-2014, 03:18 AM
  5. Search for/Edit Records with a User Form
    By LONeill13 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2013, 03:24 PM
  6. Edit Sheet1 data by using User Form Textbox
    By lapot in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2012, 04:27 AM
  7. User Form VBA coding to enter, edit and add new records
    By SGS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2012, 03:59 AM

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