Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / September 2005

Tip: Looking for answers? Try searching our database.

maximum rows custom list

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jootje - 31 Aug 2005 12:07 GMT
Hi,

I have about 2000 rows I want to add in a custom list in order to sort
another column that contains 4000 rows. The problem is that the custom list
only uses the first 180 rows or so.  It seems like the maximum rows or items
you can add to a custom list is 180.  Does anybody know a solution to this
problem.?

p.s. already split the 2000 rows in 180 rows parts...this is tricky
however...you tend to make mistakes...

Please help,
thanks in advance,
Jootje
Norman Jones - 31 Aug 2005 13:15 GMT
Hi Jootie,

A long custom list can be added programmatically.

Try:

'======================>>
Public Sub Tester001()

   Dim rng As Range
   Dim WB As Workbook
   Dim SH As Worksheet

   Set WB = ActiveWorkbook            '<<========== CHANGE
   Set SH = WB.Sheets("Sheet1")       '<<========== CHANGE
   Set rng = SH.Range("A1:A2000")    '<<========== CHANGE

   Application.AddCustomList ListArray:=rng

End Sub
'<<======================

Change the workbook and worksheet names to suit and change the address of
rng to accord with your list.

If you are not familiar with macros, you may wish to visit David McRitchie's
'Getting Started With Macros And User Defined Functions' at:

http://www.mvps.org/dmcritchie/excel/getstarted.htm

---
Regards,
Norman

> Hi,
>
[quoted text clipped - 12 lines]
> thanks in advance,
> Jootje
Debra Dalgleish - 31 Aug 2005 18:34 GMT
The custom list limit is about 254 items, or 1818 characters, whichever
it hits first. AFAIK, there's no way to change the limit, manually or
programmatically.

> I have about 2000 rows I want to add in a custom list in order to sort
> another column that contains 4000 rows. The problem is that the custom list
[quoted text clipped - 4 lines]
> p.s. already split the 2000 rows in 180 rows parts...this is tricky
> however...you tend to make mistakes...

Signature

Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

Norman Jones - 31 Aug 2005 19:02 GMT
Hi Debra,

You are correct.

I had used the custom list feature to hold an alphanumeric parts list of
several thousand items. As the list comprised an uninterrupted sequence,
Excel's autofill ensured that dragging an initial part number provided a
complete list,  and disguised (from me) the limits that you refer to.

Thank you for the correction!

---
Regards,
Norman

> The custom list limit is about 254 items, or 1818 characters, whichever it
> hits first. AFAIK, there's no way to change the limit, manually or
[quoted text clipped - 8 lines]
>> p.s. already split the 2000 rows in 180 rows parts...this is tricky
>> however...you tend to make mistakes...
Jootje - 01 Sep 2005 13:33 GMT
Hi Debra and Norman,

Thanks anyway for your help, I'll stick to my old plan then.

Regards,
Jootje

> Hi Debra,
>
[quoted text clipped - 23 lines]
> >> p.s. already split the 2000 rows in 180 rows parts...this is tricky
> >> however...you tend to make mistakes...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.