Hi i'm developing a Macro that formats a report, the number of columns and rows used in the document that will be formatted is variable so I can't use fixed ranges. What I need to achieve is to select the first row in column A that doesn't contain data at the bottom of the report and select a range as wide as the columns that have been used. e.g. if there is data 100 rows down and as wide as column E, I need the code to select from a101 to e101 and then:
Merge the cells
set the borders
Wrap text
fill in a fixed amount of text
adjust the height of the row to fit the text in the newly merged cell
I have been able to get to the last row and I have code to select to the last column when I fix the row, I just cant seem to combine them. Any assistance would be appreciated
Bookmarks