I am looking for a macro that will do some formatting clean up to some tabs in a excel file used for annual review feedback. The tabs contain rows with merged cells (I realize that that these should be avoided but I inherited the file and trying to help out) and much of the data is copied and pasted into cells from other sources (word docs, e-mails, other excel files). During the annual review process there are over 100 of these files that are completed and administrators need to review and clean-up or fix any formatting issues so it looks good for printing purposes. I am looking for a macro that the admin can run to do the clean-up formatting that will accomplish the following 2 tasks on tabs '2014 Performance' and 'RA Development Feedback':
1) Auto-Fit Row Height for rows with Merged Cells: One of the issues is that rows with merged cells do not auto-fit the row height. Some of the data that is being pasted into the rows with merged cells has more text in the cells than is visible due the row height not adjusting height. Admins manually adjust these rows to show all of the text in the rows and also reduce some row's height for rows with "extra space". Could a macro look for rows with merged cells in the 2 tabs and then auto-fit the row height?
2) Hide Blank Rows based on Criteria: The other main issue is that there may be rows that have no data and I would like to have the macro to hide these rows. In column M, I have a formula that looks for rows that are blank and that should be "hidden" by the macro. So any cell in Col M that equals "Hide" should be hidden. Would like to add this to the macro as well.
The attached file is a sample.
Pre-payment has been sent. Thank you in advance for your help.