Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have an Access database with a form that has an entry with a drop down list attached to it. The list has two columns in it. When you select one of the options from the list it populates one field with the first column and another field with the second. Is there a way in Excel to do the same thing? I have the two columns set up as a range already, but can't get it to work. Any suggestions? Thanks Keith |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
maybe this...
check out these properties of a combo: ..ColumnCount = 'int value ..BoundColumn = 'int value Hi, I have an Access database with a form that has an entry with a drop down list attached to it. The list has two columns in it. When you select one of the options from the list it populates one field with the first column and another field with the second. Is there a way in Excel to do the same thing? I have the two columns set up as a range already, but can't get it to work. Any suggestions? Thanks Keith |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sigh,
this sounds like bad database design, but here we go.. First pls provide additional info. Do you want to edit on the sheet or use a userform like in Access? DM Unseen |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub Combobox1_Click()
Range("A1").Value = Combobox1.List(Combobox1.ListIndex,0) Range("A1").Offset(0,1).Value = Combobox1.List(Combobox1.ListIndex,1) End Sub -- Regards, Tom Ogilvy "Keith" wrote in message ... Hi, I have an Access database with a form that has an entry with a drop down list attached to it. The list has two columns in it. When you select one of the options from the list it populates one field with the first column and another field with the second. Is there a way in Excel to do the same thing? I have the two columns set up as a range already, but can't get it to work. Any suggestions? Thanks Keith |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Keith,
Do you want to edit the sheet or create a userform BTW this sounds like a dependent column, which is bad database design. DM Unseen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Input selection choices | Excel Discussion (Misc queries) | |||
Setting of input cells as blue font and formula cells as black fon | Excel Discussion (Misc queries) | |||
Skip cells with TAB/SHIFT+TAB but allow arrow keys/mouse selection of skipped cells | Excel Programming | |||
Macro to change list box input range based on selection made in another cell | Excel Programming | |||
Input box does not allow selection in another file | Excel Programming |