Hi,
I am having some issues with my excel marco that was being done by another colleague of mine ...
I have attached the command for the macro,
regards,![]()
Please Login or Register to view this content.
Alex
Hi,
I am having some issues with my excel marco that was being done by another colleague of mine ...
I have attached the command for the macro,
regards,![]()
Please Login or Register to view this content.
Alex
Last edited by pike; 03-13-2011 at 11:16 PM. Reason: add code tags for newbie pm rule
Hey Alex,
It looks like the error is in the Selection.AutoFilter step. There are all these columns selected and you call for an AutoFilter. AutoFilters are done with Tables so Excel is confusedon what you want done.
You should set a breakpoint in the code and step through it one statement at a time to see which is giving the error, like I did. Then you need to examine what state the worksheet is in and if the VBA command makes any sense.
Here is a good source http://www.cpearson.com/excel/Debug.htm
I'd comment out that AutoFilter step and see what happens. You may be a star!![]()
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks