DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
ComboBox1.RowSource = [3!a:a].SpecialCells(xlCellTypeFormulas, 1).Address
ComboBox2.RowSource = [3!a:a].SpecialCells(xlCellTypeFormulas, 1).Address
ComboBox1.RowSource = "a1:a" & [a65536].End(3).Row
ComboBox2.RowSource = "a1:a" & [a65536].End(3).Row
Sayın vasifokur
userformdaki:
kodlarını aşağıdaki gibi değiştirinKod:ComboBox1.RowSource = [3!a:a].SpecialCells(xlCellTypeFormulas, 1).Address ComboBox2.RowSource = [3!a:a].SpecialCells(xlCellTypeFormulas, 1).Address
Kod:ComboBox1.RowSource = "a1:a" & [a65536].End(3).Row ComboBox2.RowSource = "a1:a" & [a65536].End(3).Row
Private Sub UserForm_Initialize()
For i = 2 To [a65536].End(3).Row
If Range("a" & i).Text <> "" Then
ComboBox1.AddItem Range("a" & i)
ComboBox2.AddItem Range("a" & i)
End If
Next i
End Sub