Share via

is anyone else having problems with @ being added to excel formulas in vba?

Michael Young 1 Reputation point
2021-05-19T22:27:19.177+00:00

trying to insert a column array through vba Range("b7").Value = "={3600;2400;1800;1500;1200}", excel inserts an @ between = and { and converts the intended column array into a row array

turning [File/Options/Advanced/Extend data range formats and formulas] off stops excel changing the formula during manual entry, but it keeps changing the formula entry through vba

Developer technologies | Visual Basic for Applications
0 comments No comments

1 answer

Sort by: Most helpful
  1. Viorel 127K Reputation points
    2021-05-20T10:33:17.473+00:00

    Try another statement:

    Range("b7").Formula2 = "={3600;2400;1800;1500;1200}"

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.