Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi All! I am having trouble refreshing a ComboBox on a UserForm. Here's m situation. I have a user form with a combo box that is populated wit all open excel documents starting with "Book". The problem is that i I close a "Book" spreadsheet and it's still an option in the combobo next time around. Is there any way for the combo box not to remembe the last selected option? Also, Is there any way to prevent the combo box displaying a blan field? I thought of using UserForm1.ComboBox1.ListIndex = 0 however there is an error if there are no workbooks open when the use activates the form. Is there any way to check that there are vali workbooks open before setting the ListIndex? I understand that this is quite a long question, so thanks for reading Any help would be great. Thanks in advance -- viewmaste ----------------------------------------------------------------------- viewmaster's Profile: http://www.excelforum.com/member.php...fo&userid=3209 View this thread: http://www.excelforum.com/showthread.php?threadid=52985 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Function Values Not Refreshing | Excel Worksheet Functions | |||
Refreshing drop down cell values... | Excel Worksheet Functions | |||
Fill values into a listbox matching selected values from a combobox | Excel Programming | |||
Auto Refreshing - values | Excel Programming | |||
ComboBox Values | Excel Programming |