DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub ListBox1_Click()
sat = ListBox1.ListIndex
For i = 1 To 6
Controls("TextBox" & i).Text = ListBox1.List(sat, i - 1)
Next
End Sub
Private Sub ListBox1_Click()
sat = ListBox1.ListIndex
For i = 1 To 6
'Controls("TextBox" & i).Text = ListBox1.List(sat, i - 1)
Controls("TextBox" & i).Text = Worksheets("Sayfa3").Cells(sat + 1, i).Value
Next
End Sub
Private Sub ComboBox1_Change()
sayfa = ComboBox1.Value
ListBox1.RowSource = ""
ListBox1.Clear
Satır = Worksheets(sayfa).Cells(65536, 1).End(xlUp).Row
kolon = Worksheets(sayfa).Cells(1, 256).End(xlToLeft).Column
bbb = Worksheets(sayfa).Cells(Satır, kolon).Address
ListBox1.ColumnCount = kolon
Set Sh = Sheets(sayfa)
For a = 1 To kolon
yer = Sh.Columns(a).Width
deg = deg & CLng(yer) & ";"
Next
'MsgBox deg
ListBox1.ColumnWidths = deg
ListBox1.RowSource = sayfa & "!a2:" & bbb
ListBox1.ColumnHeads = True
sat = ComboBox1.ListIndex + 1
For i = 1 To 6
Controls("TextBox" & i).Text = Worksheets("Sayfa3").Cells(sat, i).Value
Next
End Sub