Hello;
What I need is a macro that can draw borders in cells with data across multiple sheets in a workbook. I already have the following code that almost can do it:
The problem I have is that it does not find the last row in all the sheets. What it does instead is that it finds the last row in the sheet that I run the macro from, and then It will use the value of the last row in this specific sheet in all other sheets. So for instance, if I run the code from sheet 3 that has 72 rows with data, It will draw tables (borders) with 72 rows in all my sheets, even though the number of rows with data in the different sheets are not similar.
Bookmarks