Simple Q but couldn't figure this out; current code includes:
Except I'm constantly adding/removing columns so the static reference to column CA is no good and I want to use a dynamic reference. I named column CA "dyn_range_grab", and tried all manner of replacing the "CA" references in the code above with variations of that name, but suspect I'm getting something easy wrong. Help?
Code:
LastRow = Cells(rows.Count, "CA").End(xlUp).row
Arr = Split(Application.Trim(Join(Application.Transpose(Range("CA1:CA" & LastRow)))))
Except I'm constantly adding/removing columns so the static reference to column CA is no good and I want to use a dynamic reference. I named column CA "dyn_range_grab", and tried all manner of replacing the "CA" references in the code above with variations of that name, but suspect I'm getting something easy wrong. Help?
Last edited: