Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Saving combo box list when closed?

I need my userform comboboxes to keep their list values
when the program is closed, and the selected value in the
combobox needs to saved too. So when i open the workbook,
the comboboxes keep their lists from before, and whichever
value was selected from the combobox stays in there, how
would i do that?
thanks in advance
Josh Ashcraft
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Saving combo box list when closed?

Set the row source manually in the VBE. If you are not getting your data
from the worksheet, then you would need to run code to repopulate the lists.
Likewise, you would need to store the selected value in a cell or somewhere
else, and then reset it with code, possibly in the initialize event.

--
Regards,
Tom Ogilvy


"Josh Ashcraft" wrote in message
...
I need my userform comboboxes to keep their list values
when the program is closed, and the selected value in the
combobox needs to saved too. So when i open the workbook,
the comboboxes keep their lists from before, and whichever
value was selected from the combobox stays in there, how
would i do that?
thanks in advance
Josh Ashcraft



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Closed without saving by mistake Mark W Excel Discussion (Misc queries) 2 January 3rd 09 12:58 AM
If I closed an excel doc without saving can I get it back? thx Unisom New Users to Excel 2 July 10th 06 09:34 PM
Help - Closed excel doc with out saving it Sugan Excel Discussion (Misc queries) 3 May 16th 06 01:00 PM
SAVING DATA TO CLOSED WORKBOOKS DarnTootn Excel Worksheet Functions 0 May 15th 06 04:21 PM
RECOVER A SPREADSHEET CLOSED BEFORE SAVING steve.merwick Excel Discussion (Misc queries) 3 April 12th 06 12:44 AM


All times are GMT +1. The time now is 06:05 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"