LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Row limit in Excel

Like this, which automatically adds a new worksheet

'-----------------------------------------------------------------
Private Sub Worksheet_Change(ByVal Target As Range)
'-----------------------------------------------------------------

On Error GoTo ws_exit:
Application.EnableEvents = False
If Target.Row = Me.Rows.Count Then
Worksheets.Add
End If

ws_exit:
Application.EnableEvents = True
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"mannan" wrote in
message ...

Thanks Bob for your reply.

To spread the data over multiple worksheets, How can we add multiple
worksheet programatically/dynamically? Also, to check if the worksheet
is filled, you mentioned to "use *Change Event* and check for
row65536". Can you explain briefly, how to use Change Event?

Have a Good Day.


--
mannan
------------------------------------------------------------------------
mannan's Profile:

http://www.excelforum.com/member.php...o&userid=33856
View this thread: http://www.excelforum.com/showthread...hreadid=536319



 
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
any way to bypass Excel Limit of 255 rows? griff Charts and Charting in Excel 0 November 9th 05 04:18 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
Row Limit in Excel Molly Excel Discussion (Misc queries) 4 January 12th 05 11:09 PM
Can I change the 15-digit limit in Excel for numbers ? Johan Excel Worksheet Functions 2 January 11th 05 01:17 PM
How do I add more columns above the 256 limit in excel? Kathy Excel Worksheet Functions 3 December 21st 04 11:09 PM


All times are GMT +1. The time now is 01:58 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"