LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default Add multiple custom lists

I would like to add multiple custom lists taken from the
activeworkbook sheet1. Sheet1 would have n custom lists with each
list in a column starting in row 1. Each column will be a custom
list to be imported.

I'm not clear how to do this using the addcustomlist command. I have
some code but it's not working. (I think it's pretty far off from
working.)

sub AddMultipleLists()
NbrOfLists=4
For Index =1 to NbrOfLists
For i = Lbound(ListArray,1) to Ubound(ListArray,1)
Worksheets("sheet1").cells(i, ColIndex).Value =
ListArray(i)
application.addcustomlist Array(ListArray)
Next I
Next Index

Any ideas? Thx Chet

 
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
Drop down lists from multiple source lists RoofIL Excel Worksheet Functions 3 February 18th 10 09:44 PM
custom lists farha New Users to Excel 2 August 20th 08 08:37 PM
custom lists and custom formulas? nameruc Excel Discussion (Misc queries) 0 December 6th 06 04:18 PM
Multiple lists with repeated values for dependet drop down lists mcmanusb Excel Worksheet Functions 1 September 29th 06 12:13 AM
HOW DO I USE A CUSTOM LISTS barry New Users to Excel 1 December 29th 04 06:52 AM


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