Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Keep Listbox values when closing workbook

Gents,

I have created listboxes via Design Mode in a worksheet.
I load them via a VBA procedure (because I can't find out
how to fill them otherwise)
When I close the book and reopen, the values are gone.

Is there a setting or way to keep the values from
disseapearing ? XL97.

thanks,
Derek

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Keep Listbox values when closing workbook

not unless you bind them to a range on a worksheet using the ListFillRange
or RowSource properties.

--
Regards,
Tom Ogilvy

"Derek" wrote in message
...
Gents,

I have created listboxes via Design Mode in a worksheet.
I load them via a VBA procedure (because I can't find out
how to fill them otherwise)
When I close the book and reopen, the values are gone.

Is there a setting or way to keep the values from
disseapearing ? XL97.

thanks,
Derek



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Keep Listbox values when closing workbook

Thanks, Tom. Always glad to read you !
Derek from Belgium
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Keep Listbox values when closing workbook


In your Workbook_Open() code, you could call your code to initialize the
values.


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Closing a workbook N1KO Excel Discussion (Misc queries) 0 February 12th 09 03:51 PM
Help with closing down a workbook?? Don Excel Worksheet Functions 1 May 9th 05 04:05 AM
closing excel after closing a workbook CWalsh[_2_] Excel Programming 3 January 21st 04 03:33 PM
Compare Listbox values with Collection values Stuart[_5_] Excel Programming 2 September 20th 03 01:58 PM
Sorting ListBox results or transposing ListBox values to other cells for sorting Rob[_8_] Excel Programming 1 July 9th 03 04:35 AM


All times are GMT +1. The time now is 09:10 AM.

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

About Us

"It's about Microsoft Excel"