hi
I have this formula to autonumbering in COL B when fill in COL C
I try doing with this macro but it gives error syntax
can any one guide me how fix it A or alternative macro
and if doesn't show the formula in column B will be great
thanks for this forum for what provide from the solutions
I have this formula to autonumbering in COL B when fill in COL C
VBA Code:
=IF(C4<>"";" serial " & SUBTOTAL(3;$C$4:C4);"")
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Columns(3)) Is Nothing Then
LR = Range("c" & Rows.Count).End(xlUp).Row
Range("b4:b" & LR).Formula = "=IF(C4<>""; "serials" & SUBTOTAL(3;$C$4:C4);"")"
End If
End Sub
and if doesn't show the formula in column B will be great
thanks for this forum for what provide from the solutions