Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Positioning drop down box over listbox entry

I have a 2 column list box on an Excel form. I'd like the user to be able to
set any value in the second column to a value in a predefined list.

What I'm aiming to do is this: when the user clicks on an item in the list
box a combo box is positioned over the item in the second column and
displayed. When an item in the combo box is selected the value in the second
column is set to whatever has been selected in the combo box and then the
combo box is hidden.

I have an idea on most of what I need to do, however I'm a little stuck on
how to position the combo box in the correct position each time. I'd also
prefer to avoid using anything other than the standard controls in Excel, and
don't have the option of using any .NET stuff.

Any suggestions would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Positioning drop down box over listbox entry

I've found a way of doing what I want to do using TopIndex, ListIndex and a
drop down within a frame control, however it would be nice if I could
increase the row height in the listbox slightly to accomodate the combo box,
as this is slightly higher than an individual row in the list box.

Any ideas on how to achieve this?

"PatrickS" wrote:

I have a 2 column list box on an Excel form. I'd like the user to be able to
set any value in the second column to a value in a predefined list.

What I'm aiming to do is this: when the user clicks on an item in the list
box a combo box is positioned over the item in the second column and
displayed. When an item in the combo box is selected the value in the second
column is set to whatever has been selected in the combo box and then the
combo box is hidden.

I have an idea on most of what I need to do, however I'm a little stuck on
how to position the combo box in the correct position each time. I'd also
prefer to avoid using anything other than the standard controls in Excel, and
don't have the option of using any .NET stuff.

Any suggestions would be appreciated.

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
disable entry on listbox Smallweed Excel Programming 2 October 22nd 08 01:22 PM
showing a listbox with last entry as the default Katrina Excel Programming 3 November 8th 06 06:24 AM
how do I link a drop down list entry to a new drop down cell? lmunzen Excel Discussion (Misc queries) 1 August 15th 06 04:59 PM
Data Entry Listbox Tom Ogilvy Excel Programming 0 January 19th 05 04:03 PM
Disappearing listbox entry Stuart[_5_] Excel Programming 1 February 26th 04 02:35 PM


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