Forum Discussion
mroegiers
May 06, 2021Copper Contributor
Implicit intersection operator: @
I am writing a formula in a cell in vba. the formula is ws.Range("A1").Formula = "=UNIQUE('Sheet1'!E:E)" The new "improved" excel is inserting an @ in front of my formula so... In cell A1 I see ...
- May 06, 2021
I figured it out. If I use Formula2R1C1 then Excel does not put the @ in.
I am so use to using Formula I didn't want to start using Formula2R1C1, but now I will.
So now the formula is ws.Range("A1").Formula2R1C1 = "=UNIQUE('Sheet1'!C5:C5)"
and it works.
No need to reply. This has been solved. Thanks.
mroegiers
May 06, 2021Copper Contributor
I figured it out. If I use Formula2R1C1 then Excel does not put the @ in.
I am so use to using Formula I didn't want to start using Formula2R1C1, but now I will.
So now the formula is ws.Range("A1").Formula2R1C1 = "=UNIQUE('Sheet1'!C5:C5)"
and it works.
No need to reply. This has been solved. Thanks.