DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
ListBox2.RowSource = ActiveSheet.Range("b" & Rows.Count).End(3).Row
ListBox2.RowSource = "A2:aj30" & Cells(65536, 2).End(xlUp).Row
ListBox2.RowSource = Sheets(ActiveSheet.Name).Name & "!A2:aj" & Cells(65536, 2).End(xlUp).Row
ListBox2.RowSource = Sheets(ActiveSheet.Name).Name & "!A2:aj30"
Private Sub UserForm_Initialize()
For i = 1 To ActiveWorkbook.Sheets.Count
ComboBox5.AddItem Sheets(i).Name
Next
ComboBox5.Text = ActiveSheet.Name
Private Sub ComboBox5_Click()
ListBox2.RowSource = ""
Set sh = Sheets(ComboBox5.Text)
If WorksheetFunction.CountA(sh.Cells) > 0 Then
sat5 = sh.Cells.Find(What:="*", After:=[A1], SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
sut5 = sh.Cells.Find(What:="*", After:=[A1], SearchOrder:=xlByColumns, SearchDirection:=xlPrevious).Column
Else
Exit Sub
End If
ListBox2.RowSource = ComboBox5.Text & "!" & sh.Range(sh.Cells(2, "a"), sh.Cells(sat5, "a")).Address
ListBox2.Visible = False
ListBox2.Width = 942
ListBox2.Visible = True
End Sub