Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Character Limits for Cells.

Character Limits for Cells

by Allen Wyatt
(last updated May 16, 2015)

2

Carolyn describes a situation in which a coworker has a worksheet with large amounts of text in several cells. A few cells will not display all the text even with text wrapping and a smaller font selected.

It sounds as if this workbook is being displayed in Compatibility mode, meaning that it is in the older file formats supported by Excel. In versions of Excel before Excel 2007 there was a problem displaying everything that may be entered in a cell. While Excel allowed you to enter up to 32,767 characters in each cell, it would only display the first 1,024 characters of what was in the cell. In other words, if there is anything more than this in a cell (which could be likely in some circumstances), then it won't display; Excel pretended like it wasn't even there.

The easiest way to get around this problem is to save the workbook in Excel's native format, either XLSX or XLSM (depending on whether you have macros in the workbook or not). Save it in the desired format and reopen the workbook, and you should have no problem seeing everything in the cells.

The caveat here, of course, is that if you want to give the workbook to someone else who is using an older version of Excel, they won't be able to see all the text in the cells. In that case you might look at dividing up what is in the cells so there is less than about 1,000 characters in each cell.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10231) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Character Limits for Cells.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Setting a VBA Variable From a Bookmark

Bookmarks are quite helpful in a document. You may want to transfer the contents of a bookmark into a macro variable in order ...

Discover More

Removing a Macro from a Shortcut Key

Associate a macro with a shortcut key, and at some time you may want to break that association. (Perhaps so the shortcut key ...

Discover More

Adding Ampersands to Custom Dictionaries

It appears that Word doesn't allow you to define custom dictionary entries that include ampersands. There are ways you can ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Ensuring Standard Units During Data Entry

Need to make sure that information entered in a worksheet is always in a given unit of measurement? It's not as easy of a ...

Discover More

Creating Selections

Want a really easy way to create a selection of a group of cells? Discover how to use the Extend key to make this task easier ...

Discover More

Converting Forced Text to Numbers

If you have some numbers stored in cells that are formatted as text, you may get some surprises when you try to use those ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 3 + 8?

2015-09-30 02:50:27

Edward

Using things like Avtivecell.formula=cell.formula+"XYZ" will insert the text to a cell but destroy the font formatting.
The only way to insert characters into a cell using VBA without destroying the font format of the already existing text is using activecell.characters(lastchar#).insert. And with this one you are limited to 256 characters. Probably something the programmers forgot to fix from Excel 2003.

Anyone with a tip how to perform this: Enter additional text to a cell without resetting the font formatting it has Prior to the text insert?


2015-09-24 10:58:48

TONY

I have excel 2007 but I still run into a 255 character limit when I link cells. In other words I can type thousands of characters and line breaks (alt+enter) into a cell but it won't all appear in the linked cell. Is there a way around this? Thanks


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.