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: 11
Default Filling a ComoboBox with Values on a different Worksheet

I am trying to populate a combobox's listfillrange with cells on a
different sheet

e.g.

ComboBox1.ListFillRange = Worksheets ("SheetXYZ").Range("AB100:AB200")

this gives me Run-Time error '1004"

Application-Defined or Object-Defined Error

I Tried to use some examples from this NewsGroup but they still give
back errors

--------------------------------------------------------------------------------------------------------

ComboBox1.List = Worksheets("Sheet1").Range("A1:A10").Value

or

ComboBox1.RowSource = "Sheet1!A1:A10"

or

Dim cell As Range
For Each cell In Worksheets("Sheet1").Range("A1:A10")
ComboBox1.AddItem cell.Value
Next cell

For more info on comboboxes/listboxes see
www.rubbershoe.com/listbox.htm


Is there a way to do this so I do not have to have cells on every
sheet to be the references for filling combobox's. I am trying to keep
my filesize from exploding as the amount of sheets is very large.

Thanks in Advance

Dave Barans
 
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
Filling In A Column With Incrementing Values ? Bob[_19_] New Users to Excel 2 March 15th 10 03:38 PM
Filling in worksheet cell references Wavequation Excel Discussion (Misc queries) 4 May 20th 09 08:18 PM
Filling in a table with changing range values bunky2000 Excel Discussion (Misc queries) 1 May 28th 08 12:04 PM
Filling values in a grid Cecilia Excel Worksheet Functions 4 November 1st 06 10:53 AM
Filling Source Data Array with Decimal Values John Michl Charts and Charting in Excel 6 March 22nd 06 04:17 PM


All times are GMT +1. The time now is 05:28 AM.

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

About Us

"It's about Microsoft Excel"