Hi
Worksheets("Calculations").Range("C5").Offset(0, offsetcounter) = Application.WorksheetFunction.CountIf(Worksheets(wsnew.Name).Range("R:R"), ""D"")
I am trying to do a CountIf statement, the criterea is "D", thats in the Cell, this is a download so I cant change it, is there a simple workaround, because I need to write in the Countif statement ""D"" for it to be seen as a string "D" wont find the Counts.
Thanks
Worksheets("Calculations").Range("C5").Offset(0, offsetcounter) = Application.WorksheetFunction.CountIf(Worksheets(wsnew.Name).Range("R:R"), ""D"")
I am trying to do a CountIf statement, the criterea is "D", thats in the Cell, this is a download so I cant change it, is there a simple workaround, because I need to write in the Countif statement ""D"" for it to be seen as a string "D" wont find the Counts.
Thanks