#1   Report Post  
arich
 
Posts: n/a
Default Combo Box

I want both the code and corresponding English translation to appear in the
dropdown box. The codes are in col A, and the translations are in col B.
Under Properites, ListFillRange I have entered: Jobs!A2:B200. Only column A
is shown in the dropdown box. Also, when I select one of the dropdown options
I get a VB error with my "Jobs!A2:B200" displayed in the VB code. Please tell
me what I'm doing wrong. Thanks.

  #2   Report Post  
FSt1
 
Posts: n/a
Default

hi,
you need to set more properties.
Go back to the combo box's property sheet.

ColumnCount = 2
ColumnWidth = ? pts; ? pts ( note: 1 inch = 72 pts, 1 cm = 28 pt)
TextColumn = 1 (display left column value in cb when row is selected)
or
Text column = 2 (display right column value in cb when row is selected)

There may be other properties you may wish to set. if so, high light the
property name(on left side) and press F1 to find out what the property does
or is for.
knowing what all the properties are helps you use the control more
effectively.

Regards
FSt1

"arich" wrote:

I want both the code and corresponding English translation to appear in the
dropdown box. The codes are in col A, and the translations are in col B.
Under Properites, ListFillRange I have entered: Jobs!A2:B200. Only column A
is shown in the dropdown box. Also, when I select one of the dropdown options
I get a VB error with my "Jobs!A2:B200" displayed in the VB code. Please tell
me what I'm doing wrong. Thanks.

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
Nesting Combo Boxes /Returning an Array ELMONDO SNITHER Excel Discussion (Misc queries) 1 June 30th 05 01:15 AM
Dynamic Combo Box benjarfer Excel Worksheet Functions 2 April 8th 05 02:17 PM
connecting combo boxes to yield data in another cell. TxN8tv Excel Discussion (Misc queries) 0 March 14th 05 04:07 PM
extract data from combo box n use it in SQL benj Excel Discussion (Misc queries) 2 February 16th 05 09:54 AM
dynamic combo boxes tjb Excel Worksheet Functions 2 January 25th 05 07:33 PM


All times are GMT +1. The time now is 01:48 PM.

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"