NoCode
05-06-2010, 11:27 AM
Hello
I have an Excel template with data that is creating individual worksheets using some VB code. The template contains a section of code that specifies the formatting for each newly created worksheet (landscape, legal paper, page breaks, etc).
Is there a way that I can use VBA to modify the Page Setup to include columns A, B, H and I on every page.
Such that Page 1 [Columns A-N], Page 2 [A,B,H,I,O-X], Page 3 [A,B,H,I,Y-AI] and so on.
Hopefully someone can point me in the right direction.
Thanks
I have an Excel template with data that is creating individual worksheets using some VB code. The template contains a section of code that specifies the formatting for each newly created worksheet (landscape, legal paper, page breaks, etc).
Is there a way that I can use VBA to modify the Page Setup to include columns A, B, H and I on every page.
Such that Page 1 [Columns A-N], Page 2 [A,B,H,I,O-X], Page 3 [A,B,H,I,Y-AI] and so on.
Hopefully someone can point me in the right direction.
Thanks