This code is working great, as needed, except on one of my workbook sheets. I cannot figure out what the difference in the two sheets is which is causing the code to apply the border incorrectly.
In the attached file, there are two different layouts: Main Page(?) and Adjustments(?)
The code works great on Main Page, but is bordering the wrong area on Adjustments. It uses the row/columns where two text strings are found as markers for the Range'ing part of the code since other workbooks will not have the same exact layout but will have those same labels.
I've toggled back 'n forth many times between the two layouts and can't pickup on the difference which is causing the code to border the wrong area on Adjustments.
I've input some zeroes (highlighted) into a few of the far-right column cells so you can watch the code work.
On Main Page, you will see the border applied to the correct COMPARABLES area. On Adjustments, the border ends up bounding the first row and the row with "COMPARABLES" in the first column cell.
Main Page is correct.
What am I not seeing?
Thank you,
Delain
Bookmarks