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

Hi All

i have a combo box on a userform that i populate on the form initialization
event ... using the following code

dim rng as range

set rng = Sheets("LookupContainer").Range("ContainerNo")

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


--- however when i open the userform from another userform no containers are
shown in the combo box .. if i close (cancel) and reopen it again they are -
i'm only talking about 6 records here (from about 9) ... any ideas - is
there a better way to do it? (Using excel 2000)

thanks
JulieD


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 data on userform gki[_6_] Excel Programming 6 July 29th 04 07:35 AM
Populating a userform 3 col listbox Martin[_13_] Excel Programming 0 April 19th 04 09:49 PM
Populating Sheet Data From A UserForm Combo Box Enabled For Multi-Choices R3df1sh[_3_] Excel Programming 1 December 4th 03 08:58 PM
Populating a VBA UserForm Danny Sowden Excel Programming 0 August 19th 03 03:11 PM
Populating Textbox in UserForm Derek[_2_] Excel Programming 3 July 10th 03 10:41 PM


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