ExcelBanter

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

JT

Listbox ?
 
Is it possible to prevent a user from selecting any item in a listbox? I'm
using a listbox to display the values of several cells. I just want the user
to be able to scroll through the list box and read what is there but not
select anything. is this possible?

Thanks for the help.
--
JT

JLGWhiz[_2_]

Listbox ?
 
You can set the enabled property to False, if the list box is from the
control toolbox. However, if the user is Excel xavvy, they can change it
back to true. Maybe a textbox or a label would have been a better choice.



"JT" wrote in message
...
Is it possible to prevent a user from selecting any item in a listbox?
I'm
using a listbox to display the values of several cells. I just want the
user
to be able to scroll through the list box and read what is there but not
select anything. is this possible?

Thanks for the help.
--
JT





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

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