Oh, and you might want to make the macro recording functionality correctly record Advanced Filters operations too by the way. One of the other things I tried before to get hold of the macro calls for the advanced filter was to record a macro when I applied advanced filters, but all it got was recorded mouse clicks and keystrokes.