Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Use named range to fill Userform combobox XL2003?

I must be missing something simple- I couldn't get this working, even after
googling old posts to see if I was missing something...

XL2003

Userform1, ComboBox1
named range = Prescreeninglist (a variable size range based on worksheet
contents)

All I want is to have Combobox1 fill from the named range (no match
required). Matchrequired =False, and I try to set my RowSource property
=Prescreeninglist, but I get an error in the VBE saying 'invalid property
value'

Do I need to add the workbook name (which will change) as part of the range
reference? e.g. something like ='myWorkbook.xls'!Prescreeninglist
(which I tried variations of without success) or is there some other thing
I'm missing?

Many thanks,
Keith



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default Use named range to fill Userform combobox XL2003?

Ugh <slaps forehead when that didn't work, I kept struggling until I
finally figured out that the named range had a hard-to-see syntax typo...it
wasn't a valid range, so that's the reason it kept giving me an error.
Thanks Tom and John!
Keith

"Tom Ogilvy" wrote in message
...
If doing it manually, just type in

prescreeninglist

in the box next to the rowsource property (no equal sign)


if doing it with code

me.combobox1.Rowsource = "PreScreeningList"

--
Regards,
Tom Ogilvy


"Keith" wrote:

I must be missing something simple- I couldn't get this working, even
after
googling old posts to see if I was missing something...

XL2003

Userform1, ComboBox1
named range = Prescreeninglist (a variable size range based on worksheet
contents)

All I want is to have Combobox1 fill from the named range (no match
required). Matchrequired =False, and I try to set my RowSource property
=Prescreeninglist, but I get an error in the VBE saying 'invalid property
value'

Do I need to add the workbook name (which will change) as part of the
range
reference? e.g. something like ='myWorkbook.xls'!Prescreeninglist
(which I tried variations of without success) or is there some other
thing
I'm missing?

Many thanks,
Keith






Reply
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
Populating Userform ComboBox with worksheet names in XL2003 MAWII Excel Programming 0 August 9th 05 09:07 PM
Dynamically assign ComboBox.List from named range areas Paul Martin Excel Programming 4 August 3rd 05 05:23 AM
Combobox and named range as source Matt Jensen Excel Programming 3 December 30th 04 02:47 PM
Fill combobox from specified range anb001[_5_] Excel Programming 4 June 24th 04 09:41 PM
ComboBox List Fill Range Dan Excel Programming 3 December 3rd 03 04:56 PM


All times are GMT +1. The time now is 01:28 PM.

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"