+ Reply to Thread
Results 1 to 7 of 7

AutoFit Row Height Automatically on Changed

  1. #1
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Lightbulb AutoFit Row Height Automatically on Changed

    Please, help me to apply AutoFit Row Height automatically when worksheet changed.

  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: AutoFit Row Height Automatically on Changed

    Put this code in your ThisWorkbook module:

    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
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: AutoFit Row Height Automatically on Changed

    @xladept
    I've tried your codes, but it didn't work for my excel.

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: AutoFit Row Height Automatically on Changed

    May be your font size is the cause of not changing the row height ..!!
    Are you facing any errors?
    It there are no errors please upload sample workbook
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

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

    Re: AutoFit Row Height Automatically on Changed

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  6. #6
    Forum Contributor
    Join Date
    03-04-2015
    Location
    Jakarta
    MS-Off Ver
    15
    Posts
    154

    Re: AutoFit Row Height Automatically on Changed

    I'm so sorry, before the code I put on the Sheet1. Then I change it to ThisWorkbook as your advise and it works well. Thankyou very much xladept.

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

    Re: AutoFit Row Height Automatically on Changed

    You're welcome and thanks for the rep!

+ 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. autofit row height
    By 9599lorenzo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-04-2015, 06:41 AM
  2. Replies: 1
    Last Post: 01-14-2015, 11:39 AM
  3. Autofit row height
    By maximoomoo in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-15-2014, 05:50 PM
  4. Macro to autofit row height, and then reduce back to original height
    By LesleyRicco in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-03-2013, 09:12 PM
  5. Put row height in column F of a changed row's height
    By mikeburg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-01-2006, 11:37 AM
  6. Replies: 0
    Last Post: 06-27-2006, 03:55 PM
  7. Autofit Row Height
    By MarkN in forum Excel General
    Replies: 0
    Last Post: 11-20-2005, 11:40 PM

Tags for this Thread

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