+ Reply to Thread
Results 1 to 4 of 4

Detect cells where text doesn't fit

  1. #1
    Registered User
    Join Date
    11-22-2012
    Location
    San Luis Potosi
    MS-Off Ver
    Excel 2010
    Posts
    14

    Detect cells where text doesn't fit

    Hi,

    I have a table where I want my macro to check each cell in column F and for each cell where the text doesn't fit in the cell, I want the height of the row to be doubled and "wrap text". I don't want any changes in the width of my column.

    Here is the code I tried:

    Please Login or Register  to view this content.
    I receive this error : Application-defined or Object-Defined error.

    Please Login or Register  to view this content.
    Corresponds to the range I want the macro to carried out. My header is in cell F2 and I don't want to include it (offset (1,0) ) and then I resize to the size of the column.

    Thanks for your help,

    Charles

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Detect cells where text doesn't fit

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    11-22-2012
    Location
    San Luis Potosi
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Detect cells where text doesn't fit

    It's working fine. Thank you very much !

    Charles

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Detect cells where text doesn't fit

    You're welcome!

+ 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