Trying to set a range. This would be based on a dynamic set of data. The data is in C5:E5 with a variable number of rows.
Can't see to get this one correct. Here is what I am currently using.
Later in the script I am using this range and need to ensure that I am picking up all of it.
Any assistance is appreciated.
Can't see to get this one correct. Here is what I am currently using.
Code:
Set rng = Sheets("Total Hours by Manager").Range("C5:E5").Select
Range(Selection, Selection.End(xlDown)).Select.SpecialCells (xlCellTypeVisible)
Later in the script I am using this range and need to ensure that I am picking up all of it.
Any assistance is appreciated.