Please, help me to apply AutoFit Row Height automatically when worksheet changed.
Please, help me to apply AutoFit Row Height automatically when worksheet 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
@xladept
I've tried your codes, but it didn't work for my excel.
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
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.
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.
You're welcome and thanks for the rep!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks