+ Reply to Thread
Results 1 to 4 of 4

Resize Visible Rows based only on Visible Columns text

  1. #1
    Forum Contributor
    Join Date
    02-01-2008
    Location
    Perth, Australia
    MS-Off Ver
    Excel 365
    Posts
    135

    Unhappy Resize Visible Rows based only on Visible Columns text

    Hi All,

    If possible, could someone help with the correct code to resize all visible rows on a sheet based only on the text in the visible columns.

    I have tried the below code but when it resizes it is using the largest amount of text in the rows including that in the hidden columns.

    Please Login or Register  to view this content.
    Cheers
    Last edited by Zimbo; 04-22-2009 at 09:22 PM. Reason: No help available

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Resize Visible Rows based only on Visible Columns text

    I don't think you're going to charm Excel into doing that. Excel is pretty column-centric.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    02-01-2008
    Location
    Perth, Australia
    MS-Off Ver
    Excel 365
    Posts
    135

    Unhappy Re: Resize Visible Rows based only on Visible Columns text

    Hi shg,

    Thanks for your reply.

    Is there no way to find the cell(visible) in a row with the most text and resize the row accordingly then go to next row?

    Cheers

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Resize Visible Rows based only on Visible Columns text

    Maybe, if you deleted the data in the hidden columns in the row, autofitted the row, and then put the data back.

+ 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