Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have tried many ways to figure this out, and I'm obviously in over my head.
I have a monthly data sheet with data that needs to be entered for 6 days a week to track employee productivity. This is currently done by arrowing across the cells, entering the data by date, day, and name and I'd like to make this much easier by using a UserForm. The spreadsheet I'm using now is set up as a 5-week spreadsheet so I can just enter a date in the Monday field of the first week and the date populates from there. The name fields all link back to an employee list of 55 people. There are 6 pieces of data needed and they need to be separated by date and name. I've put them in the UserForm I've made as follows: Date, Name, and 6 text boxes for the data. The date and name fields are in comboboxes with drop down lists. I can put the data in the sheet and have it populate blank lines, and I had thought about setting up a vlookup in the daily sheets by just setting up tables and populating those from the UserForm. The problem is the number of employees in the sheet can vary from 40+, so I can't tell for certain where the data will end each day and I haven't found a way to fill the table each day to 55 lines. I've also tried If statements in VBA that would go to a sub named by day (I've called them Daily1, Daily2, etc) based on the value in the date ComboBox. I have no experience with goto's (actually only a little with VBA at all except for Macro's). Would that be better? I would appreciate any assistance or advice. -- Message posted via http://www.officekb.com |