PC Review


Reply
Thread Tools Rate Thread

Populating cells based on a combobox OnChange Event

 
 
mnixonG@gmail.com
Guest
Posts: n/a
 
      24th Apr 2007
I have an excel sheet that has a combo box populated by a list in a
separate worksheet. The combo box list is based on the first column,
the second column has the description of the item. I would like to put
the description that matches the currently selected item into the
column next to the combobox.

I dont know how to check what record is currently selected or how to
retrieve the row number of the currently selected item

any help would be great

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      25th Apr 2007
In Excel, press Alt + f11 to open the Visual Basic Edito. Click on help in
the VBE menu bar. In the Search Box, type 'ListIndex Property' and then read
that information. Next type 'Selected Property' and then read that
information. These are the two methods used to determine what is selected in
a list box or combo box.

"(E-Mail Removed)" wrote:

> I have an excel sheet that has a combo box populated by a list in a
> separate worksheet. The combo box list is based on the first column,
> the second column has the description of the item. I would like to put
> the description that matches the currently selected item into the
> column next to the combobox.
>
> I dont know how to check what record is currently selected or how to
> retrieve the row number of the currently selected item
>
> any help would be great
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 Ribbon Minimized ComboBox OnChange n777krish@gmail.com Microsoft Outlook Program Addins 8 16th Feb 2007 03:19 PM
Design Question: onChange Event populating a second list box Paul Hadfield Microsoft Dot NET Framework Forms 1 25th Jan 2007 12:31 PM
Design Question: onChange Event populating a second list box Paul Hadfield Microsoft C# .NET 0 24th Jan 2007 08:07 PM
Populating combobox from another combobox David Goodall Microsoft Excel Programming 1 12th Sep 2004 03:42 PM
Bug: onchange event not called when using <optgroup> in select drop-down Ryan McGeary Windows XP Internet Explorer 0 15th Dec 2003 07:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:50 AM.