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,

    [xpost][/xpost]


    https://www.mrexcel.com/board/…files-vba-coding.1195462/


    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,
    Fredrik