peltier tech utilities
Learn how to create Excel dashboards.

Categories

30 Excel Functions in 30 Days

Archives

Worksheet Data Entry Form in Excel

With a bit of programming, you can make it easy for users to enter data in an Excel workbook, and keep them away from the stored data. Dave Peterson created a sample workbook with a worksheet data entry form.


Form02


There are data validation drop down lists in cells D5 and D7, and quantity is typed in cell D9.


Click the Add to Database button, and the new record is added at the end of the database, which is a list on a different sheet.


View the Stored Records


In Dave's workbook, you could click the View Database button to go to the database sheet, and review or edit the order records.


FormViewData


In some cases you might prefer to hide the database sheet, to protect the records, but still allow users to view the existing data. I've added a few buttons to Dave's workbook, to allow users to scroll through the existing records.


FormDataScroll


The navigation buttons take you to the first, previous, next or last record, or you can type a record number in the yellow cell, to go to a specific record.



The Go To Database button is still on the worksheet, but you could remove that, and hide the PartsData sheet, so users are less likely to change the data.


Download the Sample File


The zipped sample workbook can be downloaded here: Worksheet Data Entry Form


___________________________

Related Posts Plugin for WordPress, Blogger...

12 comments to Worksheet Data Entry Form in Excel

  • Deb, you and Dave make a great team! While this requires a bit of set up, I would imagine that it is a lot easier for end users than the Data Form dialog box.

  • Thanks Tim -- it does take some work to set this up, and not as many features as the built-in Data Form, but nice and simple for the users.

  • Bruce Reynolds

    I am going to keep this one as a best practice. Very well written integrated Excel VBA.

  • Shankar Singh

    This is a amazing website for people who want to learn in depth excel.

  • Shumz

    Hi Debra ,

    Great Job !

    I need some assistance in the same ... I need to maintain small inventory or stationary database .. we have note pads how many we recieve from the warehouse1 or warehouse 2 .. and after recieving from ware house how many we distributed to different locations/stores .. in order to have final updated balance at the end.

  • shumz

    Thanks , its done .

  • Anju

    Hi Debra ,

    Great piece of work... this is simpled our life too much.. Want to ask an small question. In database does the records will be sorted out as we want...??

    Regards,

    Anju

  • Mal

    Gday Your example and solution are great.....I have a question though about amending data once it has been entered without the user going to the database (dangerous).

    thanks

    Mal

  • Brian

    I have a question of how to insert more than one set (order). What do I need to change in the code to loop it through 10-15 rows of data.

  • dadamexi

    sir,

    thanks for the useful code. please mail me code for edit/amend the entered using data entry worksheet form.

    thanks

  • Contextures Blog ยป Edit Records in Excel Worksheet Data Entry Form

    [...] year, I posted a Worksheet Data Entry Form in Excel, where users could enter and view Excel data. It was based on a worksheet data entry form that Dave [...]

  • Masz

    Hi,

    I am using the above database for my working purpose. I actually added a DELETE button(Worksheet not cmd button)and it seems didn't work. The purpose of the DELETE is to delete the unwanted data when it is displayed in the entry form and in the database as well. My command only works for the entry form. The unwanted data is still remain in the database. Please help me on this..

    - Is that possible to include the password if the person wants to delete the data? and the delete record will be stored in another worksheet.
    This is to allow the authorized person only. Since it involves costing, that is why it is needed to store the deleted data somewhere.

    Thank U very Much.

    Masz

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>