Hi,
I getting an error while running a macro and I am lost. What the macro does is to reorder some columns in a spreadsheet of data that I imported from a flat file. Then it runs a sort and a filter that puts some column heading with a pull down box so it can filter out data by department. I can do the macro ok by hand and it works fine. I can record the macro just fine. When I play it back it stops part way through the ordering of the columns and says: Run-time error 1004
The selection is not valid. There are several possibile reasons:
Copy and paste areas cannot overlap unless they're the same size and shape.
If you're using the Create command on the Name submenu of the Insert menu, the row or column containing the proposed name ...
I read the help but it didn't help.
Any ideas? Thanks for any help
Gary
I getting an error while running a macro and I am lost. What the macro does is to reorder some columns in a spreadsheet of data that I imported from a flat file. Then it runs a sort and a filter that puts some column heading with a pull down box so it can filter out data by department. I can do the macro ok by hand and it works fine. I can record the macro just fine. When I play it back it stops part way through the ordering of the columns and says: Run-time error 1004
The selection is not valid. There are several possibile reasons:
Copy and paste areas cannot overlap unless they're the same size and shape.
If you're using the Create command on the Name submenu of the Insert menu, the row or column containing the proposed name ...
I read the help but it didn't help.
Any ideas? Thanks for any help
Gary