vba copy outline/column groups to all worksheets

  • Hi Gurus,


    Im looking for help in how to write VBA macro which will copy the column groups from one worksheet and apply them to all other worksheets in the workbook.


    "List" worksheet has the same columns as every other worksheet in the workbook, I have used the group feature to allow me to easily expad and collapse several columns. There are about 10 groups across columns in this worksheet.


    Every other worksheet in the workbook has the same columns (they were created with another macro as a copy of "List"). I want the same groupings applied to each of them.


    I hope thats clear! Thanks in advance for any help!


    Cheers,
    Tim

  • Re: vba copy outline/column groups to all worksheets


    If all the sheets has same type of formats, then copy the "list" worksheet and paste it's format to all other sheets in that workbook.

    inag

  • Re: vba copy outline/column groups to all worksheets


    Thanks for the suggestion - that works! But it is very very slow if I basically copy/paste the formatting of the entire worksheet.


    I've tried to narrow down my range to sped it up, but keep getting errors. where am I going wrong?


  • Re: vba copy outline/column groups to all worksheets


    This Might help,

    inag

Participate now!

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