View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Simon Skelton Simon Skelton is offline
external usenet poster
 
Posts: 1
Default Can Listfillrange be used with a listbox or combobox on a form?

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"