Excel pop up form to enter data

I would like to create a data entry form to append or update a table.  See attached worksheet.  The user would click a button to pull up a form and enter the actual hours worked each week for each task.  When done the form would close and append or update the data in the table which feeds a pivot table.  Form should populate with task codes and descriptions.

Thanks in advance
acdecalAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Glenn RayConnect With a Mentor Excel VBA DeveloperCommented:
After considering the functionality - and code maintenance required - I'm offering up another possible solution.

Instead of a pop-up form, there is a dedicated "Input" worksheet.  It has a data validated drop down for the week ending date (populated via a lookup table on "Lookup") for 2014.  There is a table with the Task Codes and Descriptions and cells for entering hours (limited to 80).  The entire sheet is protected (no password here) so that users can only select a data or enter hours.

There are two buttons.  One will clear the sheet.  The other will append the data table (on the "Data" sheet) with any hours listed here, so long as a date is selected.  The macro will then remove any duplicates in the data table (if any) and refresh the PivotTable.

The advantage of this setup vs. a pop-up form is that that input table is easily expandible and the code is already written to accept any size of the table.  A user form would require additional coding to allow for new tasks, descriptions, and hour input.

Example file attached.

Regards,
-Glenn
EE-Example1b.xlsm
0
 
acdecalAuthor Commented:
Data table is on sheet 2.  This is just an example of a larger and more complex workbook.
0
 
Glenn RayExcel VBA DeveloperCommented:
Please attach an example workbook.  :-)
0
Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

 
acdecalAuthor Commented:
0
 
acdecalAuthor Commented:
Sorry I forgot to attach workbook.  Any help on this please?
0
 
acdecalAuthor Commented:
OK great!  I'll try to adapt this to my workbook.
Thanks.
0
All Courses

From novice to tech pro — start learning today.