View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mike Mike is offline
external usenet poster
 
Posts: 3,101
Default Repeat code for multiple worksheets

Hi.

I have a set of code that I have written to execute on one worksheet of a
workbook. There are about 15 different worksheets in this workbook.

I need to have this code excecuted for all but 2 of the worksheets.

Is there a way I can loop the code so that I don't have to rewrite it for
each worksheet. Note that the two I do not need this run on are the last two
worksheets in the workbook.

Thanks,
Mike.