Autofilter multiple sheets and copy & save to new workbook

  • Re: Autofilter multiple sheets and copy & save to new workbook


    Are you still looking for a solution here? I actually had code written yesterday and was about to post it here and Excel crashed on me :( :( Lost it all.


    If you still need it, I will give it a go again today.


    Ger

    _______________________________________________
    There are 10 types of people in the world. Those that understand Binary and those that dont. :P


    Why are Halloween and Christmas the same? Because Oct 31 = Dec 25... ;)

    _______________________________________________

  • Re: Autofilter multiple sheets and copy & save to new workbook


    Code below and attached. Run Macro "Generate_Output"... seems to work well for the sample data that you provided... HTH


    Files

    _______________________________________________
    There are 10 types of people in the world. Those that understand Binary and those that dont. :P


    Why are Halloween and Christmas the same? Because Oct 31 = Dec 25... ;)

    _______________________________________________

  • Re: Autofilter multiple sheets and copy & save to new workbook


    Thanks a ton Ger,


    This is Exactly what I wanted.


    Really appreciate your effort.


    :hyper2:

  • Re: Autofilter multiple sheets and copy & save to new workbook


    Your welcome. Thanks for the feedback.


    I forgot to mention that - if you run the macro and open one of the output workbooks, and try to run the macro again, it will fail because the output workbook is still open and can not be updated/overwritten (you will get a message box telling you something went wrong). So just ensure that all output workbooks are closed when you run it. I could code around that issue if it becomes a problem... but for now, its just easier for me to warn you :)


    Ger

    _______________________________________________
    There are 10 types of people in the world. Those that understand Binary and those that dont. :P


    Why are Halloween and Christmas the same? Because Oct 31 = Dec 25... ;)

    _______________________________________________

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!