A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
The worksheet code is to replace your original code.
The workbook code is to be copied to Thisworkbook module.
But. . . . . . .
How will you keep BD and BH locked but have users continually add more numbers in those columns?
From your explanation in second post I thought the users were entering the numbers but looks like I have misunderstood your code which does sorting on those columns as numbers are added.
Where and how are the numbers being entered?
Gord