I have dates in row 3 starting column 4 (D). And column B8 onwards, I have names of departments. The list of departments can expand or shrink on a daily basis so it is not a static reference either. I need a macro which looks up cell for that particular day corresponding to the row that contains a certain value/department. I have today's date in cell "D1". So far my code looks like:
This code can get to todays date but the relevant department might not exist in ActiveCell.Offset(6, 0).SelectPlease Login or Register to view this content.
How do I refer moving to column B and offset by row till it gets to a certain value and then move back to the column of todays date?
Bookmarks