+ Reply to Thread
Results 1 to 7 of 7

Character limit in text box when linked to a cell?

  1. #1
    Registered User
    Join Date
    10-01-2010
    Location
    Mansfield, MA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Character limit in text box when linked to a cell?

    I'll spare you the details on why and just tell you that I've got a text box in Excel 2010 that I linked to a cell by selecting the text box, clicking in the formula bar, and inserting a reference to the cell. My problem is that for some reason, the text box will only show about the first 256 characters from that cell and cuts off the rest. Is there a limit to the number of characters you can display in a text box when linked this way? Is there any way around this?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Character limit in text box when linked to a cell?

    Yes, there is a limit. You can paste the text into the text box rather than link it to a cell.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    10-01-2010
    Location
    Mansfield, MA
    MS-Off Ver
    Excel 2010
    Posts
    18

    Re: Character limit in text box when linked to a cell?

    Is there a way around this? I want the text box to update automatically. The spreadsheet will be used by many different people with varying degrees of understanding of Excel so I'm trying to keep it very basic for the user.

  4. #4
    Registered User
    Join Date
    08-02-2013
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Character limit in text box when linked to a cell?

    I work with Excel 2007. I have the same problem and the same requirements as mfernandes.
    Also, I do not understand the logic behind this very low limit of 255 characters for a text box...

  5. #5
    Registered User
    Join Date
    09-06-2011
    Location
    uk
    MS-Off Ver
    Office 2010, 2013
    Posts
    5

    Re: Character limit in text box when linked to a cell?

    Did anyone ever get the bottom of this or find a work around? I'm facing the same issue.

  6. #6
    Registered User
    Join Date
    09-06-2011
    Location
    uk
    MS-Off Ver
    Office 2010, 2013
    Posts
    5

    Re: Character limit in text box when linked to a cell?

    I found a work around!

    It seems that the 255 character limit is only applied when pulling text from a cell using a formula. You can achieve more characters (in my case around 350) by simply copying the text from the cell and pasting into the text box.
    This of course is a manual solution which just wouldn't do. But a simple bit if VBA code can automate this. You may also need to adjust the formatting of the text box as it resets itself. This can also be applied using VBA.

    This is my code - adapt to suit:
    Please Login or Register  to view this content.
    Hope that can help someone facing a similar issue

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Character limit in text box when linked to a cell?

    Well, the thread is nearly 3 years old, but thanks for that solution.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1