Make selection from ListBox1 to load specific info

ipbr21054

Well-known Member
Joined
Nov 16, 2010
Messages
5,279
Office Version
  1. 2007
Platform
  1. Windows
Morning,

Im making a userform for which i would like some advice please.
I have attached 2 screenshots.

ComboBox1 would have the info from Table 28 "MODELS" listed, A2:A11 " i have done this"

Upon the selection made i wish for its relevant info to be then shown in ListBox1 below.

Example,
A user would select say PCX & in ListBox1 i would see the infro from F2:F7

Once i sort this stage i will then move on to loading an image
 

Attachments

  • EaseUS_2023_02_28_10_23_23.jpg
    EaseUS_2023_02_28_10_23_23.jpg
    55.3 KB · Views: 6
  • EaseUS_2023_02_28_10_24_06.jpg
    EaseUS_2023_02_28_10_24_06.jpg
    29.7 KB · Views: 6

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I have applied this but the Table code is shown in Red

Can you advise what i should be writting please.

Rich (BB code):
Private Sub ComboBox1_Change()
If Me.ComboBox1.Value = "AIR BLADE" Then
ListBox1 = Table 30

ElseIf Me.ComboBox1.Value = "CBR" Then
ListBox1 = Table 31

ElseIf Me.ComboBox1.Value = "FORZA" Then
ListBox1 = Table 32

ElseIf Me.ComboBox1.Value = "LEAD" Then
ListBox1 = Table 33

ElseIf Me.ComboBox1.Value = "PCX" Then
ListBox1 = Table 34

ElseIf Me.ComboBox1.Value = "SH" Then
ListBox1 = Table 35

ElseIf Me.ComboBox1.Value = "VARIO" Then
ListBox1 = Table 36

ElseIf Me.ComboBox1.Value = "VISION" Then
ListBox1 = Table 37

ElseIf Me.ComboBox1.Value = "WINNER" Then
ListBox1 = Table 38

ElseIf Me.ComboBox1.Value = "X-ADV" Then
ListBox1 = Table 39

End If
End Sub
 
Upvote 0

Forum statistics

Threads
1,216,096
Messages
6,128,807
Members
449,468
Latest member
AGreen17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top