Hi Mark,
In order to do what you want I had to:
a. Erase all your Border Lines
b. Add a temporary Helper Column 'J' to sort.
The value in column 'J' is of the form SNNNNNN.NNN%-AAA-ZZZZZZ where:
' S is 'A' if the Percentage is NEGATIVE, and 'Z' if the percentage is Positive
' NNNNNN.NNN% is 6.3 digit % value with possible leading MINUS sign (to make it 7.3 with MINUS sign)
' AAA is the value in Column 'A' (in upper case)
' ZZZZZZ is 100000 Minus Row Number (to force sort in descending order)
c. Add the Border Lines after sorting was completed.
Try the following Macro (which is a modified version of the previous Macro). The Macro is also contained in the attached file.
Bookmarks