Posts by FreAnd

    The closest I can get is with this IF not statment, Now I can exclude the Source data sheet but still not the Template sheet,


    Hi all,

    I am a bit new to VBA coding but have managed to create a macro that lets me save multiple worksheets to separate pdf's.
    But, I don't want to include two specific sheets, for ex, sheet TEMPLATE and SOURCE DATA how can I exclude these two and print the rest?

    This is my code:

    I would be very grateful for any assistance

    My best regards from a cold Sweden,