Loop code through certain worksheets

  • Hello,


    I am trying to loop the following code for a total of 15 worksheets without copying and pasting that same code 14 more times for each worksheet. Right now it is only executing the code on the "CAN" tab. Is there a way to make it loop where indicated below?


    The 15 worksheets are:
    CAN
    USA
    ASG
    Gallia
    IGEM
    LAT
    NOR
    SPAI
    UKI
    ANZ
    ASE
    China
    IND
    JPN
    Skorea


    Is it better to use Sheet(1) rather than the names of the tabs?



    Thanks as always for your help!

  • Re: Loop code through certain worksheets


    One way...


    Typed on a mobile phone and untested but just to illustrate how it could be done.

Participate now!

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