+ Reply to Thread
Results 1 to 6 of 6

Formatting Issue: Wrap Text and Shrink to Fit

  1. #1
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Formatting Issue: Wrap Text and Shrink to Fit

    Excel will let you select both Wrap Text and Shrink to fit in one cell but it doesn't seem to work.

    Can you format a cell so it starts wrapping the text and if it runs out of room in the cell it reduces the font size to "shrink to fit"?

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Formatting Issue: Wrap Text and Shrink to Fit

    I don't believe so. In 2010, if you select Wrap Text, shrink to fit is disabled.
    Remember what the dormouse said
    Feed your head

  3. #3
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Formatting Issue: Wrap Text and Shrink to Fit

    romperstomper: In Excel 2010, if you select shrink to fit first you can select wrap text also.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Formatting Issue: Wrap Text and Shrink to Fit

    Yes but as soon as you select Wrap Text, Shrink to Fit is disabled.

  5. #5
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Formatting Issue: Wrap Text and Shrink to Fit

    Shrink to Fits seems to be disabled but the checkmark is still there. Isn't that strange?
    ================
    I assume it is not possible to have cell wrap on and decrease the font size as needed based on the text (ie word wrap with shrink to fit). Is it possible via VBA?
    ====================================
    How do you make the row height increase automatically as needed based on the text in the wrapped cell?

  6. #6
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Formatting Issue: Wrap Text and Shrink to Fit

    I assume that's so that if you change your mind, unchecking Wrap Text puts Shrink to fit back on.

    In my experience doing anything with font sizes in VBA is a real pain, unless you are using a fixed width font (when it's just a pain). The autofit should work naturally unless you have a lot of text or merged cells (which are even worse to work with in VBA)

+ 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