+ Reply to Thread
Results 1 to 2 of 2

Macro to autofit row height, and then reduce back to original height

  1. #1
    Registered User
    Join Date
    05-02-2013
    Location
    Birmingham
    MS-Off Ver
    Excel 2000
    Posts
    1

    Macro to autofit row height, and then reduce back to original height

    Hi there,

    I have a row of data that is particularly large and need to keep it at reasonable height so that other information can be seen in one glance. However, the data needs to be read so I need a macro that autofits the row height when clicked, and then reduces back to original height in the next click...

    If anyone can help it would be so appreciated!

    Thanks
    Lesley

  2. #2
    Forum Contributor
    Join Date
    07-27-2012
    Location
    California, USA
    MS-Off Ver
    Excel 2003
    Posts
    198

    Re: Macro to autofit row height, and then reduce back to original height

    Below is VBA code that was tested in Excel 2003. A command button is clicked to expand row heights
    for all rows where cells are selected, then click the button again and all data rows
    row heights are returned to normal. A file is attached. I hope you can test this file in Excel 2000.
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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