Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Listbox Item Focus

Hi all,

I have MainLbx display a list of categories to select from. On Double-click,
MainLbx brings up the selections for only that category (say SODA as
category, Coke, Pepsi as selections).

When the user double-clicks on the item, it will be added to a cell in the
same worksheet. The problem is when the user first tries to doubleclick on an
item (after doubleclicking on the category), the listbox jumps to the third
selection in the row.

I have tried:

MainLbx.Selection(0) = True
MainLbx.ListIndex = -1

Thanks for the help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Listbox Item Focus

Any suggestions would be appreciated!

Thanks,

"Kagan Clearwater" wrote:

Hi all,

I have MainLbx display a list of categories to select from. On Double-click,
MainLbx brings up the selections for only that category (say SODA as
category, Coke, Pepsi as selections).

When the user double-clicks on the item, it will be added to a cell in the
same worksheet. The problem is when the user first tries to doubleclick on an
item (after doubleclicking on the category), the listbox jumps to the third
selection in the row.

I have tried:

MainLbx.Selection(0) = True
MainLbx.ListIndex = -1

Thanks for the help!

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
listbox add item Baha Excel Programming 0 December 8th 06 02:37 AM
Setting focus on User Form Listbox Don Wiss Excel Programming 4 August 26th 06 03:16 AM
Retaining focus on a textbox / listbox item pair after validation = false. chatterbox Excel Programming 2 April 4th 06 11:42 AM
Add item to listbox, but only if it is not already there. Mark Excel Programming 4 September 2nd 05 10:07 PM
removing selection focus in listbox Craig Wilks[_2_] Excel Programming 2 August 13th 03 12:15 PM


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