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: 122
Default combobox fill problem

Hi experts,
i have the following code to fill a combobox

Private Sub UserForm_Initialize()
With Sheets("hulpblad")
cbo_accountnr.RowSource = "b2:c500"
End With
End Sub

This works fine but the userform on which the combo is, is used on sheet 1
where the combobox should be filled with items on sheet("hulpblad")
In my code the With sheets("hulpblad") does not work when i call the userform
in sheet1.
I get the list"b2"c500" from sheet1 istead of the list from sheet("hulpblad")
Can anyone help me please ?
Thanks,
Pierre

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200512/1
 
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
Fill a Combobox from a ROW? Rob[_5_] Excel Discussion (Misc queries) 4 January 15th 09 08:12 PM
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
Fill ComboBox with File Names Hal Excel Programming 1 September 8th 05 12:27 PM
Fill combobox from specified range anb001[_5_] Excel Programming 4 June 24th 04 09:41 PM
Fill a combobox karibou Excel Programming 2 January 27th 04 04:13 PM


All times are GMT +1. The time now is 11:00 PM.

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"