Hi
I'm having some problems with a custom sort in a macro I've made.
Below is the extract of the specific piece of code, the error occurs on the penultimate line where it tries to apply the sort.
This part of the code is right at the end of the macro (it's rather large hence not posting all...