Userform Combo boxes Excel VBA -


so kind of annoying because have tried every suggestion have read far, ut cannot seem user form combo boxes filled via vba.

i have tried following methods seem work me....

 me.weeks.list = array("30", "36", "40") 

and....

 weeks      .additem "30"      .additem "36"      .additem "40"  end 

and far nothing shows in userform when run it. there setting missing? of course these part of initialize event. :)

more code per request:

 private sub toolboxform_initialize()  weeks.clear 'more stuff  me.minayweeks.list = array("30", "36", "40")  'with minayweeks '    .additem "30" '    .additem "36" '    .additem "40" 'end  'more stuff   end sub 

there's stuff calculations ok button, nothing affects contents of combobox, stuff references value of selected option.

thanks in advance guys

enter image description here

in userform initialize event add code, add reference userform (me.weeks).

with me.weeks  .additem "30"  .additem "36"  .additem "40" end 

enter image description here


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -