im sure this is easy but I cant figure it out.
I have a range variable named data I want to clear all the data in the 3rd column in the range variable I know how to reference a single location in the range variable but not a whole column. see example code below
thanks for any help on this.
JD
I have a range variable named data I want to clear all the data in the 3rd column in the range variable I know how to reference a single location in the range variable but not a whole column. see example code below
Code:
Dim data as Range
Set data = Range("A1:D20").Value
data(1,3) = "" 'how would I change that so that all of the 3rd column is nothing
JD