ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Form Controls on Excel worksheet (https://www.excelbanter.com/excel-programming/438451-form-controls-excel-worksheet.html)

H.G. Lamy

Form Controls on Excel worksheet
 
Hello,

can I use an array as input range for a (form) combo box ?

Kind regards,

H.G. Lamy



joel[_545_]

Form Controls on Excel worksheet
 

You have to manuall in code use Additem to put each item of an array
into a combobox


for i = 0 to Ubound(MyArray)

Listbox1.additem MyArrray(i)

next i


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=170371

Microsoft Office Help


H.G. Lamy

Form Controls on Excel worksheet
 
Thank You !

H.G.

"joel" wrote in message
...

You have to manuall in code use Additem to put each item of an array
into a combobox


for i = 0 to Ubound(MyArray)

Listbox1.additem MyArrray(i)

next i


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=170371

Microsoft Office Help





All times are GMT +1. The time now is 12:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com