R
ranswrt
I have been stumped with a listbox added to a worksheet using the control
toolbox. I have been having problems refreshing the listbox when the data
range is changed. I have been using the following code to refresh it:
Sheets("name").OLEObjects("Listbox1").ListFillRange = Range("rng").address
I have been getting a blank listbox. I can manually enter the range in the
property window for the listfillrange, but when the range is changed the
listbox isn't updated. Is there a better way to update the listbox?
Thanks
toolbox. I have been having problems refreshing the listbox when the data
range is changed. I have been using the following code to refresh it:
Sheets("name").OLEObjects("Listbox1").ListFillRange = Range("rng").address
I have been getting a blank listbox. I can manually enter the range in the
property window for the listfillrange, but when the range is changed the
listbox isn't updated. Is there a better way to update the listbox?
Thanks