I had help with this request before on these forums last year --> http://www.ozgrid.com/forum/showthread.php?t=190852 . Since then I have made some adjustments to files and now the macro keeps failing and I can't seem to figure out why. The macro name that needs looked at is FinalFormatting() located in Module2.
I am looking for a macro that will do some formatting clean up to some tabs in a excel files 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 am 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 140 of these files that are completed and administrators need to review and clean-up and 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 2 tasks on the following files/tabs:
2015 PR FEEDBACK Annual Feedback Summary:
1. 2015 Performance
2. PR Development Feedback
3. Self Evaluation Development
2015 SELF Annual Feedback Summary:
1. 2015 Performance
2. Self Evaluation Development
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". Would like macro look for rows with merged cells in the tabs and then auto-fit the row height? I highlighted the sections in yellow that need to autofit.
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. This task only applies to the 2015 Performance tab in both files.
Let me know if you need any further contect and I will get back ASAP.
Pre-payment has been sent via Paypal.