+ Reply to Thread
Results 1 to 3 of 3

Autofit if characters in cell exceed column width

  1. #1
    Registered User
    Join Date
    05-11-2007
    Posts
    22

    Autofit if characters in cell exceed column width

    Hello everyone,

    I was wondering if there is a code that autofits a cell if the character input within that cell exceeds its column width. I'm trying to prevent characters from spilling into the next cell so I would like to have the cell autofit ONLY if it exceeds the width of the column. Any help or feedback would be most appreciated. Thanks!

  2. #2
    Forum Contributor Tarball's Avatar
    Join Date
    04-21-2007
    Location
    Atlanta, GA
    Posts
    166
    Please Login or Register  to view this content.
    Change the "Sheet1" to the name of your sheet.
    Last edited by Tarball; 07-10-2007 at 03:26 PM.

  3. #3
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    Actually, this may better fit your needs:
    Please Login or Register  to view this content.
    HTH

    Jason

+ 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