- Katılım
- 5 Kasım 2007
- Mesajlar
- 4,727
- Excel Vers. ve Dili
- 64 Bit TR - Microsoft Office 365 - Win11 Home
=EĞERSAY($B$19:$K$19;B21)>0
Dim RS As New Collection
Sub Rastgele()
Dim R As Integer
Dim Sayi As Integer
rs_ 80
For R = 1 To 10
Sayi = Int(1 + Rnd * (RS.Count))
Cells(1, 31 + R) = RS.Item(Sayi)
RS.Remove Sayi
Next
End Sub
Sub rs_(Maks As Integer)
Dim Bak As Integer
Set RS = Nothing
For Bak = 1 To Maks
RS.Add Bak
Next
End Sub