Hi, I am a newby and therefor this rather easy question but I don't seem to solve this issue
I want to create a for loop in which I want to paste for each row the folowing formula:
if(row K = ""; ""; row K * row K)
the code :
for row = begin to end
formula= "=if( & row & "K = \"\"; \"\";" & row & "K *" & row & "L)"
cells(row,5)= formula
next i
can anywone tell me how I have to create this formula in VBA
I want to create a for loop in which I want to paste for each row the folowing formula:
if(row K = ""; ""; row K * row K)
the code :
for row = begin to end
formula= "=if( & row & "K = \"\"; \"\";" & row & "K *" & row & "L)"
cells(row,5)= formula
next i
can anywone tell me how I have to create this formula in VBA