Ben aşağıdaki gibi denedim ama beceremedim yada böyle bir olay varmı
Private Sub UserForm_Initialize()
If Yön.Value = Eleman_Tnt Then
ListBox1.RowSource = "Eleman_Tnt!A2
65000"
ListBox1.ColumnCount = "3"
ListBox1.ColumnWidths = 20 & ";" & 95 & ";" & 300
Exit Sub
End If
If Yön.Value = Isk_Tnt Then
ListBox1.RowSource = "Isk_Tnt!A2
65000"
ListBox1.ColumnCount = "3"
ListBox1.ColumnWidths = 20 & ";" & 95 & ";" & 300
Exit Sub
End If
End Sub
Private Sub UserForm_Initialize()
If Yön.Value = Eleman_Tnt Then
ListBox1.RowSource = "Eleman_Tnt!A2
ListBox1.ColumnCount = "3"
ListBox1.ColumnWidths = 20 & ";" & 95 & ";" & 300
Exit Sub
End If
If Yön.Value = Isk_Tnt Then
ListBox1.RowSource = "Isk_Tnt!A2
ListBox1.ColumnCount = "3"
ListBox1.ColumnWidths = 20 & ";" & 95 & ";" & 300
Exit Sub
End If
End Sub
