I'm trying to automate export a table to multiple excel worksheets. In each sheet is a different selection collection.
The issue I have encountered is that intially I want to select all customers that start with "ABC" (which is straightforward) but then select all customers not starting with "ABC" and export these to the next excel worksheet.
I tried this line in the macro but it does not appear to behave in the same way as manually using select excluded in the application -