Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi ,
I'd like to create a routine to add 12 sheets to a new workbook quickly without having to do them one at a time. I get fed up adding them one at a time. Is this possible to do in Excel VBA? Any help greatly appreciated. Thanks in advance Sandra |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
While Worksheets.Count < 12 'or the number you want to end up with
Worksheets.Add Wend will do what you want, but if you ALWAYS want a certain number of sheets, why not just set this in tools options? Grd wrote: Hi , I'd like to create a routine to add 12 sheets to a new workbook quickly without having to do them one at a time. I get fed up adding them one at a time. Is this possible to do in Excel VBA? Any help greatly appreciated. Thanks in advance Sandra |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() sheets.add count:=12 Col -- colofnature ------------------------------------------------------------------------ colofnature's Profile: http://www.excelforum.com/member.php...o&userid=34356 View this thread: http://www.excelforum.com/showthread...hreadid=548961 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Adding multiple intances from several sheets? | Excel Worksheet Functions | |||
adding stats from multiple sheets | Excel Discussion (Misc queries) | |||
adding off of multiple sheets | Excel Discussion (Misc queries) | |||
Adding Cells from Multiple Sheets | Excel Programming | |||
Need Function for adding rows on multiple sheets... struggling rookie ;) Thanks. | Excel Worksheet Functions |