I'm having a particulary awful time understanding what goes wrong here.
I would like to enter the following formula via VBA:
Range("C8").Select
ActiveCell.FormulaR1C1 = "=MODE.SNGL('Data'!D:D)"
Now, the problem is that VBA instead outputs it as:
=MODE.SNGL('Data'!D(D)
I tried using chr(58) and also using ' to escape, but no cherry. Could someone tell me what I am doing wrong?
ActiveCell.Formula = "=MODE.SNGL(Data!D:D)", the pair of'are redundant