Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default populating a combo box on form inilialization

Hi All

using Excel 2000 i have one userform with a combo box that i populate on
initalization with the following code

dim rng as range
set rng = Sheets("LookupContainer").Range("ContainerDB")

for each cell in rng
if cell.offset(0,-1) = "" AND cell.offset(0,1) = "" then
userform3.cbocontainers.additem cell.value
end if
next


....
however, when i open the userform (from another userform) the list isn't
shown on the drop down of the combo box. If i close & reopen the form it
is - any ideas? PS currently i'm talking about 6 records only.

Cheers
JulieD


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default populating a combo box on form inilialization

How are you opening the userfrom from another userform are you callin
it? or userformname.show? do they each have population lists? where ar
the lists located?

with a little more information you may get the help you need.

Simo

--
Message posted from http://www.ExcelForum.com

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 a list/combo box with an Access column. kelsey Excel Discussion (Misc queries) 0 January 24th 07 03:19 PM
Populating other cells with combo box selection Shevlin Ryan Excel Programming 2 August 1st 04 07:08 PM
Populating combo boxes Cecilkumara Fernando Excel Programming 3 November 7th 03 02:38 AM
Populating combo box with a function Derek Gadd Excel Programming 5 October 29th 03 10:59 AM
Populating Combo Boxes Tom Ogilvy Excel Programming 0 September 25th 03 04:29 AM


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