ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Listbox default (https://www.excelbanter.com/excel-programming/286630-listbox-default.html)

[email protected]

Listbox default
 
Is there a way to have one of the values that has been added to a
listbox appear as the 'default' value? I tried the code below but it
does not do it.

Set ListBoxYear.Value = strYear

Tom Ogilvy

Listbox default
 
ListBoxYear.Value = strYear

--
Regards,
Tom Ogilvy

wrote in message
...
Is there a way to have one of the values that has been added to a
listbox appear as the 'default' value? I tried the code below but it
does not do it.

Set ListBoxYear.Value = strYear





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com