Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 276
Default Create new workbook when 00 sheets are reached

Is it possible to have a code, so that when/if 100 sheets are reached in a
single workbook, then the first 3 sheets are duplicated and another
worksbook is created ?

I understand that having more than 100 or so sheets is not wise.
I was hoping for up to 1000 sheet capability.

Corey.....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Create new workbook when 00 sheets are reached

Corey,
There is the Workbook_NewSheet event where you can test
ThisWorkbook.Worksheets.count.
If it exceed you limit, create a new workbook and copy over the first 3
sheet etc...

(Not that I think it's a good idea, but..) As for 1000 WS in a WB, not sure,
dependent on your version of XL. This may help:
http://www.decisionmodels.com/memlimitsc.htm

NickHK

"Corey" wrote in message
...
Is it possible to have a code, so that when/if 100 sheets are reached in a
single workbook, then the first 3 sheets are duplicated and another
worksbook is created ?

I understand that having more than 100 or so sheets is not wise.
I was hoping for up to 1000 sheet capability.

Corey.....




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to create new workbook and sheets Richard Excel Discussion (Misc queries) 1 July 31st 07 07:31 PM
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA Amaxwell Excel Worksheet Functions 4 August 17th 06 06:23 AM
create a pop-up alert when a condition is reached in excel Crazy Horse Excel Discussion (Misc queries) 3 June 19th 06 01:04 PM
create workbook, copy sheets Pierre via OfficeKB.com[_2_] Excel Programming 0 October 25th 05 07:51 AM
Create New Workbook - Name book - 4 Sheets - Name Sheets Greg[_21_] Excel Programming 6 June 12th 05 04:41 AM


All times are GMT +1. The time now is 09:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"