Hi, I am entirely new to Excel and coding in general. I have began to start playing around with it in the simplest form but have the desire to start learning.
I am in dire need of something to help speed up a task that I must do daily at work.
I am working on two Excel Workbooks: one is a master list of all of our employees with columns from monday-sunday and the hours they work; the second one contains daily work hours log with employee names. Currently I look at each name one by one in daily log finding match in the master Workbook and typing in each employees hours for that day.
Question: is there a way to create a VBA macro that matches the names between the two workbooks, and automatically types in the daily hours of that employee if he/she is working - and leaving it blank if they are not?
this is the data, the first workbook is the following:
image removed
Column B is our work force, and column C is what I am trying to automatically capture - employee shift time from the other workbook by name. This is a daily log we post for the workers in the lunch room so they know where they are working for the day This is where the employee shift times are coming from:
image removed
for example, tomorrow Tuesday would capture the information from column J. Let me know if anything else is needed! Thanks so so much.
Any help would be appreciated!!!!!!!!
<tbody>
[TD="class: votecell"]
[/TD]
[TD="class: postcell"]
[/TD]
</tbody>
I am in dire need of something to help speed up a task that I must do daily at work.
I am working on two Excel Workbooks: one is a master list of all of our employees with columns from monday-sunday and the hours they work; the second one contains daily work hours log with employee names. Currently I look at each name one by one in daily log finding match in the master Workbook and typing in each employees hours for that day.
Question: is there a way to create a VBA macro that matches the names between the two workbooks, and automatically types in the daily hours of that employee if he/she is working - and leaving it blank if they are not?
this is the data, the first workbook is the following:
image removed
Column B is our work force, and column C is what I am trying to automatically capture - employee shift time from the other workbook by name. This is a daily log we post for the workers in the lunch room so they know where they are working for the day This is where the employee shift times are coming from:
image removed
for example, tomorrow Tuesday would capture the information from column J. Let me know if anything else is needed! Thanks so so much.
Any help would be appreciated!!!!!!!!
<tbody>
[TD="class: votecell"]
[TD="class: postcell"]
[/TD]
</tbody>
Last edited by a moderator: