Solved

Excel pop up form to enter data

Posted on 2014-09-29
6
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
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…

623 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