Hi Team,
I have this formula in my macro that I was hoping it will work but so far it is giving me an error time 1004.
Would someone be able to assist and let me know if I have missed something please
Much appreciated
I have this formula in my macro that I was hoping it will work but so far it is giving me an error time 1004.
Would someone be able to assist and let me know if I have missed something please
Much appreciated
VBA Code:
Range("s1").Select
ActiveCell.FormulaR1C1 = "=COUNTIF(" & ActiveCell.offset(0,1).Address(RowAbsolute:=False) & ":" & ActiveCell.Offset(2, 10).Address(RowAbsolute:=False) & ",""*Day*"")"