Solved

Excel pop up form to enter data

Posted on 2014-09-29
6
270 Views
Last Modified: 2014-10-02
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
0
Comment
Question by:acdecal
  • 4
  • 2
6 Comments
 

Author Comment

by:acdecal
ID: 40350966
Data table is on sheet 2.  This is just an example of a larger and more complex workbook.
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40351166
Please attach an example workbook.  :-)
0
 

Author Comment

by:acdecal
ID: 40351902
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:acdecal
ID: 40353190
Sorry I forgot to attach workbook.  Any help on this please?
0
 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
ID: 40356413
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
 

Author Comment

by:acdecal
ID: 40357588
OK great!  I'll try to adapt this to my workbook.
Thanks.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now