Solved

Excel pop up form to enter data

Posted on 2014-09-29
6
309 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

710 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