Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Deactivate individual listbox lines

Hello,

I have a list box on a user form that I have set up to have an outline
appearance. High level items with lower level items listed below. I would
like the higher level items to be inactive, (i.e. can't be selected). Can
this be done? How?

In the meantime, I plan to write some code that deselects the higher level
code.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Deactivate individual listbox lines

I don't believe the properties for a list box will support what you describe.
However, if you only have one lower level item per high level item, you
could write your click event code so that the same action is performed if
either are selected. If you have more than one low level item per high
level, of course, there could be a problem. Outside of that, the other
alternative is to delete the highlevel items from the list.

"ZipCurs" wrote:

Hello,

I have a list box on a user form that I have set up to have an outline
appearance. High level items with lower level items listed below. I would
like the higher level items to be inactive, (i.e. can't be selected). Can
this be done? How?

In the meantime, I plan to write some code that deselects the higher level
code.

Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Deactivate individual listbox lines

Sounds like you are using the wrong control. Try a tree view maybe to
represent the structure.

NickHK

"ZipCurs" wrote in message
...
Hello,

I have a list box on a user form that I have set up to have an outline
appearance. High level items with lower level items listed below. I

would
like the higher level items to be inactive, (i.e. can't be selected). Can
this be done? How?

In the meantime, I plan to write some code that deselects the higher level
code.

Thanks in advance.



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
how to insert individual lines into a cell Jonigirl Excel Worksheet Functions 3 March 27th 09 11:27 AM
Calculate to total individual lines Curious Excel Discussion (Misc queries) 2 July 18th 07 12:53 AM
Format Individual Grid Lines FGM Charts and Charting in Excel 4 March 24th 07 01:40 AM
Combining lines from individual sheets into one summary sheet Sean Excel Programming 1 November 1st 06 04:16 PM
How do I remove the individual subtotal lines from a pivot table.. leo Excel Discussion (Misc queries) 2 March 16th 05 03:19 AM


All times are GMT +1. The time now is 09:30 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"