Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Turn off highlight on Listbox after click_event

Is it possible to turn off the highlight of listbox choice after the
listbox_click event has fired? What is happening is that when I click the
item, the event is fired and then I cannot chose the item again without
chosing another item first.

Thanks

EM
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Turn off highlight on Listbox after click_event

You probably have to use the click event code to reset the value to -1. I
have not tried it, but it seems the logical thing to do.

"ExcelMonkey" wrote:

Is it possible to turn off the highlight of listbox choice after the
listbox_click event has fired? What is happening is that when I click the
item, the event is fired and then I cannot chose the item again without
chosing another item first.

Thanks

EM

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Turn off highlight on Listbox after click_event

Which property is being set to -1?

Thanks

EM

"JLGWhiz" wrote:

You probably have to use the click event code to reset the value to -1. I
have not tried it, but it seems the logical thing to do.

"ExcelMonkey" wrote:

Is it possible to turn off the highlight of listbox choice after the
listbox_click event has fired? What is happening is that when I click the
item, the event is fired and then I cannot chose the item again without
chosing another item first.

Thanks

EM

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Turn off highlight on Listbox after click_event

See ListIndex in the VBA help.

"ExcelMonkey" wrote:

Which property is being set to -1?

Thanks

EM

"JLGWhiz" wrote:

You probably have to use the click event code to reset the value to -1. I
have not tried it, but it seems the logical thing to do.

"ExcelMonkey" wrote:

Is it possible to turn off the highlight of listbox choice after the
listbox_click event has fired? What is happening is that when I click the
item, the event is fired and then I cannot chose the item again without
chosing another item first.

Thanks

EM

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 highlight more related cells if cell highlight Jon Excel Discussion (Misc queries) 5 December 21st 08 01:06 PM
VBA: Creating listbox similar to the one in Pivot table (Listbox+Checkbox) modjoe23 Excel Programming 3 August 18th 05 02:35 PM
Highlight cells with ctrl-click but only un-highlight one cell hagan Excel Discussion (Misc queries) 5 May 27th 05 06:45 PM
listbox.value not equal to listbox.list(listbox.listindex,0) ARB Excel Programming 0 October 22nd 03 12:46 AM
Code to automatically turn on and turn off Track Changes John[_46_] Excel Programming 1 October 7th 03 02:22 AM


All times are GMT +1. The time now is 12:55 PM.

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"