What does "the custom sort no longer works." mean?
You have two worksheets, one visible, one hidden. But you have one CustomSortClickmacro that refers to the visible sheet and the Table on it ( Deed Doc#s (2) and Table22 ). You have a "button" on each sheet to call CustomSortClick but it will only work on Table22.
You don't really need a UDF to extract the numeric part of the code. You have a formula to extract the alphabetic part of the code ( =RIGHT(C3,5) ), so you can use that to get the numeric part: Probably a lot quicker and you don't have to have macros enabled for it to function.
Bookmarks