Hi Idiodine,
> does anyone know how to split up the items in a list
> by splitting it up into sections of 10 items?
Depends on how you have the objects created (and if they exist
before hand), but it's relatively simple to accomplish with an
array, a list array and enumeration.
Assuming aItems is your array and lList() is your list array:
Dim lWhichList&
For liter = 0 to ubound(aitems)
if (liter+1) mod 10 = 0 then
lWhichList = (liter+1)\10
end if
llist(lWhichList).additem aitems(liter)
Next liter
Regards,
Shawn K. Hall
http://12PointDesign.com/
http://ReliableAnswers.com/
'// ========================================================
I think I'd kill for a Nobel Peace Prize.
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [email protected]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/