+ Reply to Thread
Results 1 to 9 of 9

Row Height auto fit not working with wrapped text

  1. #1
    Registered User
    Join Date
    11-03-2014
    Location
    Gaza
    MS-Off Ver
    2013
    Posts
    7

    Row Height auto fit not working with wrapped text

    Hi
    I have a large excel file (BoQ) with approx 2000 rows (items)

    I have a problem with rows heights, text wrapped but not fully showed when trying to print ,
    manually I can do it,but it will take alot of time

    Is there any solution to this problem

    so that I can reduce time.

    Regards

  2. #2
    Registered User
    Join Date
    11-03-2014
    Location
    Gaza
    MS-Off Ver
    2013
    Posts
    7

    Re: Row Height auto fit not working with wrapped text

    up... please help

  3. #3
    Forum Contributor
    Join Date
    08-04-2014
    Location
    Riga
    MS-Off Ver
    2010
    Posts
    579

    Re: Row Height auto fit not working with wrapped text

    Select all rows, right-click, Row Height, adjust manually for all rows. Does it work for you?

  4. #4
    Registered User
    Join Date
    10-21-2014
    Location
    VIET NAM
    MS-Off Ver
    2007
    Posts
    9

    Re: Row Height auto fit not working with wrapped text

    Hi Ahaj16,

    Select all rows, double click at any row, hope you can do.

  5. #5
    Registered User
    Join Date
    11-03-2014
    Location
    Gaza
    MS-Off Ver
    2013
    Posts
    7

    Re: Row Height auto fit not working with wrapped text

    Quote Originally Posted by bmouse View Post
    Select all rows, right-click, Row Height, adjust manually for all rows. Does it work for you?
    hi

    That's what I am doing usually

    but, I have large number of rows and it take long time

    I am searching for something quicker

  6. #6
    Registered User
    Join Date
    11-03-2014
    Location
    Gaza
    MS-Off Ver
    2013
    Posts
    7

    Re: Row Height auto fit not working with wrapped text

    Quote Originally Posted by NGUYEN PHI HA View Post
    Hi Ahaj16,

    Select all rows, double click at any row, hope you can do.
    this is the same as format > Auto fit row height

    It doesn't work

  7. #7
    Registered User
    Join Date
    10-21-2014
    Location
    VIET NAM
    MS-Off Ver
    2007
    Posts
    9

    Re: Row Height auto fit not working with wrapped text

    Hi,
    if you cannot, send me your file, i will show you.

  8. #8
    Forum Contributor
    Join Date
    02-19-2005
    Location
    Gurgaon,India
    MS-Off Ver
    2007,2010,2013
    Posts
    180

    Re: Row Height auto fit not working with wrapped text

    In merged cells autofit won't work. If there is any merged cells, unmerge and try Center Across Selection
    Kris

  9. #9
    Registered User
    Join Date
    11-03-2014
    Location
    Gaza
    MS-Off Ver
    2013
    Posts
    7

    Re: Row Height auto fit not working with wrapped text

    Thank you all for your efforts


    After searching around this problem I managed to get a solution ..

    I have entered the macro world and started learning it. I found a macro that sets the row height to a specific height

    and changed it to suit my needs.

    Solution as follows:

    1. after doing the auto row height fit in excel

    2. I run the following macro


    Sub RHeight()

    Set cr = Selection

    For Each cr In cr.Rows

    If cr.RowHeight > 20 And cr.RowHeight < 60 Then
    newHeight = cr.RowHeight + 20
    cr.VerticalAlignment = xlTop
    cr.RowHeight = newHeight

    ElseIf cr.RowHeight < 20 Then
    newHeight = cr.RowHeight + 12.5
    cr.VerticalAlignment = xlTop
    cr.RowHeight = newHeight

    ElseIf cr.RowHeight > 60 And cr.RowHeight < 100 Then
    newHeight = cr.RowHeight + 25
    cr.VerticalAlignment = xlTop
    cr.RowHeight = newHeight
    Else
    newHeight = cr.RowHeight + 30
    cr.VerticalAlignment = xlTop
    cr.RowHeight = newHeight
    End If

    Next cr

    End Sub
    This macro adds specific height to the entire height.( depending on the current row height )


    Just wanted to share this to others so that they can benefit from it ...


    Thanks Excel Forum

    Ahmed Ajjour

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cell (raw) auto height for wrapped text in 4 merged cell.
    By niravdani in forum Excel General
    Replies: 1
    Last Post: 11-06-2014, 04:54 AM
  2. Automatic row height after text entered into wrapped and merged cells
    By SteveRea in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2013, 03:00 PM
  3. [SOLVED] Excel 2007 Automatically adjust row height for wrapped text
    By jennifersmigla in forum Excel General
    Replies: 1
    Last Post: 03-16-2013, 12:58 PM
  4. Replies: 0
    Last Post: 10-21-2005, 10:05 AM
  5. [SOLVED] Resetting default row height to allow display of wrapped text
    By Stilson in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-29-2005, 08:05 PM

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