I have the following code in VBA (Excel 365):
Range("B5").Value = "=Jan!T28:T46"
Writing manually "=Jan!T28:T46" in B5 inserts all the values from Jan!T28:T42 to B5:B23 perfectly :) But the same assignment in VBA using the above code makes Excel insert '@' before the reference: '=@Jan!T28:T46'. This '@' symbol results in "#value!" instead of all the values spreading from B5 to B23. I can solve the problem with a simple for loop - but I really wish to get rid of this unwanted and surprising auto completion. Any ideas?