Hello,
I'm trying to figure out how I can select a range based on a date within the current week.
Example of selection…
The order I'm trying to step through is the following:
1. Declare Friday as a variable to store the date using a formula: =TODAY()-WEEKDAY(TODAY(),16)+7
As of today, the date would be 1-Sep stored in the Friday variable
VBA obviously rejects this method and I couldn't find any examples online
2. Find first cell in column that is greater than the Friday variable; first row would be 5-Sep in the image
Offset it by -1 row and store that Row # inside a LastRow variable
3. Select Range "A2:LastRow"
I'm at a complete loss right now. Any guidance would be greatly appreciated.