Hi, I'm a newbie to the forum and I'm trying to write a macro that will find the location where: Columns = Dates and Rows = Employee Names and I need to paste the % of the day the employee is working from another spreadsheet. Probably best if I illustrate
On spreadsheet A: I have the value 50%. This represents the amount of time Employee C will work today.
[pre]
[/pre]
I can find the location of "Today" and "Employee C" easy enough. But how would I find the intersecting cell location "C5"? More imortantly, how would I copy the value "50%" from Spreasheet A to Spreadsheet B "C5"?
Thanks in advance for your help. Sorry if my logic is hard to follow. Also, I couldn't get my columns to line up in the illustration above.
Thomas
On spreadsheet A: I have the value 50%. This represents the amount of time Employee C will work today.
[pre]
Code:
On spreadsheet B: I have a "Table" (Not defined as a table)
a b c d
1 Today
2 2/4/13 2/5/13 2/6/13 2/7/13
3 Employee A 100% 100% 100% 100%
4 Employee B 100% 100% 100% 100%
5 Employee C 100% 100% 50% 100%
6 Employee D 100% 100% 100% 100%
7 Employee E 100% 100% 100% 100%
I can find the location of "Today" and "Employee C" easy enough. But how would I find the intersecting cell location "C5"? More imortantly, how would I copy the value "50%" from Spreasheet A to Spreadsheet B "C5"?
Thanks in advance for your help. Sorry if my logic is hard to follow. Also, I couldn't get my columns to line up in the illustration above.
Thomas