Forum Discussion
Cat-C
Jul 19, 2021Copper Contributor
Combining Text Strings with Ampersand (=a1&&" "&a2 formula) cuts off after 32,767 characters
Hi, I am using the following formula to add together long text strings in a worksheet: =A1&" "&A2 However, the formula cuts off the text being added together after it hits a certain number of char...
- Jul 20, 2021
Cat-C , glad it helped, good luck with your project.
SergeiBaklan
Jul 19, 2021Diamond Contributor
You can do nothing with that, Excel limit is
- Cat-CJul 19, 2021Copper ContributorThanks, Sergei!
- Cat-CJul 19, 2021Copper ContributorIs there another way to evaluate a string of text that exceeds that character number?
Thanks again for your help.- SergeiBaklanJul 19, 2021Diamond Contributor
Depends on what you would like to do with so long text. If just to display, workaround could be to generate such text in Text Box or in Word and insert it into Excel as object. But that's very static and very limited solution.
If concatenate texts in Text Box like
you may do with VBA, in simplest case
Private Sub TextBox1_Change() TextBox1.Text = Range("D3").Value & Range("D4").Value End Sub
You may google for more details about Text Box ActiveX Control.
- SergeiBaklanJul 19, 2021Diamond Contributor
Cat-C , you are welcome