XL97: Reference for ListFillRange Does Not Update Properly

ID: Q160206

The information in this article applies to:

SYMPTOMS

The ListFillRange property of an ActiveX control does not update properly when rows or columns in the ListFillRange are inserted or deleted.

CAUSE

This problem occurs if the ListFillRange references a named range. When the ListFillRange property refers to a named range, it refers to the original set of cells defined by the named range and does not track inserted or deleted cells.

For example, if your worksheet contains a named range called MyRange that refers to A1:A5, and the ListFillRange property is set to the named range MyRange, then the ActiveX control always refers to A1:A5 and does not adjust when you insert or delete cells. If you delete cell A2, the named range MyRange updates to refer to A1:A4, but the ListFillRange property of the ActiveX control still refers to A1:A5.

WORKAROUND

To work around this problem, use either of the following methods:

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

Additional query words: XL97 8.0 fill range defined name listbox drop down dropdown combo combobox

Keywords          : xlformula 
Version           : WINDOWS:97
Platform          : WINDOWS
Issue type        : kbbug

Last Reviewed: November 5, 1998