Hello,
To define a range using .end(xlDown)
After I recorded my macro this is what I got:
[VBA]Range("C9:I9").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.ClearContents[/VBA]
I am trying to modify it to something like the one below, but it does not work. What am I doing wrong?
I am trying to select cells from C9 to I9 and then expand my selection down.
[VBA]ActiveWorkbook.Sheets("MyWorkbook") _
.Range("C9:I9", Range("C9").End(xlDown)).ClearContents[/VBA]
Thanks for the help