![]() |
Workbook_Open event and combobox state storage question
The following is a summary of what I'm doing/trying to do: (Excel
2000) Using VBA at workbook_open I insert strings/selections into a [already existing but blank] combobox using oleobjects--additem. I save the workbook. I reopen the workbook, and through some logic, do not do the additem procedure again. Result: The combobox is empty. I'm relatively new to Excel/VBA but I was expecting the combobox to still contain the items I inserted into it before. Is there a property I can set that would perform this for me? And, what I'm actually wanting to do is to store the combobox's selected state (along with the unselected strings in tact) and restore it at the next startup. I realize I can do this using code (rather lengthy since I actually have many comboboxes in this worksheet) but I'm trying to alleviate my future maintenance headaches. Anybody have any ideas? Thanks in advance, JW |
All times are GMT +1. The time now is 04:23 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com