Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Another option...
You can add a workbook with just one sheet and add as many as you want later. dim newWkbk as workbook dim iCtr as long set newwkbk = workbooks.add(1) for ictr = 1 to 99 newwkbk.worksheets.add next ictr I'd end up with 100 worksheets in that new workbook. JT wrote: When you programmatically add a new workbook, is it possible to indicate the number of sheets the new workbook should have? Thanks for the help....... -- JT -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA | Excel Worksheet Functions | |||
add new sheets in a workbook with new sheets being a variable | Excel Discussion (Misc queries) | |||
How to repeat a code for selected sheets (or a contiguous range of sheets) in a Workbook? | Excel Worksheet Functions | |||
Create New Workbook - Name book - 4 Sheets - Name Sheets | Excel Programming | |||
Sheets select method fails when workbook is opened by another workbook | Excel Programming |