Macro to Delete Link Between List Box and Range of Cells (119084)
The information in this article applies to:
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel for the Macintosh 5.0
This article was previously published under Q119084 SUMMARY
In Microsoft Excel, when you assign values to the List property of the
ListBoxes object, the link for that list box is cleared. If you want to
remove the link but leave the values that resulted from the link, you can
reassign the List property of the list box to the values from the
worksheet, and the values will remain even though the link is broken.
This article contains a sample Microsoft Visual Basic for Applications
macro that breaks the link between a list box (or a drop-down list box) on
a dialog sheet and a worksheet range but leaves the values from that range
in the box.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbcode kbhowto kbProgramming KB119084 |
---|
|