Home » excel » excel – formula bar maximum length

excel – formula bar maximum length

Posted by: admin May 14, 2020 Leave a comment

Questions:

I am having problem with excel formula bar when formula exceeds 1024 characters.
It is not accepting formula and giving “out of memory” run time error when i am setting the formula from vb6 code.

Are there any settings in excel to increase the maximum length of a formula bar?

Thanks in advance.

How to&Answers:

In Excel 2003 the maximum number of characters in a cell is 32,767, all of
which will show up in the formula bar, but only 1024 will show up in the cell
itself.

And that 1024 “limit” can be broken by adding alt-enters every 80-100
characters, too.