HI
am new to VBA and trying to create a Marco to add columns to E and L, which i have a as
Range("E1").EntireColumn.Insert
Range("L1").EntireColumn.Insert
but then i want to add a formula to E and L of =Left(D5,5) and =left(k5,5) going down to the last row. but if in row 6 it will be D6 and K6 etc. so the fomula changes as to what row it is in.
the data set i am look at start in row 5
thanks
am new to VBA and trying to create a Marco to add columns to E and L, which i have a as
Range("E1").EntireColumn.Insert
Range("L1").EntireColumn.Insert
but then i want to add a formula to E and L of =Left(D5,5) and =left(k5,5) going down to the last row. but if in row 6 it will be D6 and K6 etc. so the fomula changes as to what row it is in.
the data set i am look at start in row 5
thanks