Hey guys,
I need some help with the If function in VBA.
I need to put a formula in every empty cell in a specific column and I can't manage to define the function.
My code is this (but it doesn't do anything):
Any suggestions?
Thank you!
I need some help with the If function in VBA.
I need to put a formula in every empty cell in a specific column and I can't manage to define the function.
My code is this (but it doesn't do anything):
Code:
For Each cell in Worksheets("Sheet1"). Range("L5:L" & Rows.Count.End(xlUp).Row)
If Cell.Value ="" Then
Cells(1,1) = "=..."
End If
Next Cell
Any suggestions?
Thank you!