Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Can information from 2 columns show in one combo box?

Is there a way to populate a combo box with 2 columns.. like description and
part number..? from a table??


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Can information from 2 columns show in one combo box?

Cheryl,

set the columncount property to the number of columns and just link to the
table.

You can get the data like

With Me.ComboBox1
MsgBox .List(.ListIndex, 0)
MsgBox .List(.ListIndex, 1)
End With


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Cheryl" wrote in message
...
Is there a way to populate a combo box with 2 columns.. like description

and
part number..? from a table??




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Can information from 2 columns show in one combo box?

Thank you .. I will give that a try...

"Bob Phillips" wrote in message
...
Cheryl,

set the columncount property to the number of columns and just link to the
table.

You can get the data like

With Me.ComboBox1
MsgBox .List(.ListIndex, 0)
MsgBox .List(.ListIndex, 1)
End With


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Cheryl" wrote in message
...
Is there a way to populate a combo box with 2 columns.. like description

and
part number..? from a table??






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
Combo Box, show multiple columns Melissa Excel Discussion (Misc queries) 1 October 30th 08 05:04 AM
Macro using Combo box information Quiffy123 Excel Discussion (Misc queries) 0 August 26th 08 03:37 PM
Combo Box - Show only first two digits? Gayla Excel Discussion (Misc queries) 7 November 8th 06 06:08 AM
How I view information requested from a combo box? Jessica C. Jara Excel Worksheet Functions 1 June 23rd 06 10:04 PM
Bringing additional information in with combo box selection JD Excel Worksheet Functions 1 February 24th 05 01:45 AM


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