ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can Listfillrange be used with a listbox or combobox on a form? (https://www.excelbanter.com/excel-programming/423582-re-can-listfillrange-used-listbox-combobox-form.html)

JLGWhiz

Can Listfillrange be used with a listbox or combobox on a form?
 
Use RowSource for combobox or listbox from control toolbox on a form.

"Simon Skelton" wrote:

I have created a form with listboxes and comboboxes for use with a workbook
with 4 sheets - the last of which contains a series of lists which I would
like to use in conjunction with the form.

I am trying to add the lists to the relevant listbox and combobox using
listfillrange - but without success.

I am starting to think that listfillrange cannot be used in conjunction with
forms and only works with boxes embedded in spreadsheets - but I am not
convinced that could be correct.

Can anyone provide guidance on the correct vba syntax for using
listfillrange with a combobox in a form.

The box name is cmbName and the named range in worksheet "Lists" is
"Employees"



All times are GMT +1. The time now is 12:14 PM.

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