Hi,
In my code I am using the following statement to create a UNIQUE listing of values for the specified columns.
However, when I run the code the following formula actually appears in cell M2:
=@UNIQUE(tbl_Plans[[DoorID]:[Tab Name]])
The impact is that the SPILL aspect does not work because of the "=@..." instead of "=...". The "@" comes on its own and I don't get why. A single value appears in range M2 instead of the whole unique listing of values. When I remove the "@" manually the formula works fine.
Any idea what's causing the "@" to appear and how to work around it?
Thank you.
In my code I am using the following statement to create a UNIQUE listing of values for the specified columns.
VBA Code:
Sheets("Plan Rollup").Range("M2").Formula = "=UNIQUE(tbl_Plans[[DoorID]:[Tab Name]])"
=@UNIQUE(tbl_Plans[[DoorID]:[Tab Name]])
The impact is that the SPILL aspect does not work because of the "=@..." instead of "=...". The "@" comes on its own and I don't get why. A single value appears in range M2 instead of the whole unique listing of values. When I remove the "@" manually the formula works fine.
Any idea what's causing the "@" to appear and how to work around it?
Thank you.