Tevfik_Kursun
Altın Üye
- Katılım
- 30 Temmuz 2012
- Mesajlar
- 3,849
- Excel Vers. ve Dili
- Office 2016 Pro - Türkçe 64 Bit
- Altın Üyelik Bitiş Tarihi
- 12-02-2029
Ekli dosyalar
-
11.6 KB Görüntüleme: 6
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub deneme()
Range("W1:AC20").ClearContents
sut = 23
For i = 1 To 4
For y = 3 To 10
If Cells(y, i) = "" Then GoTo atla
If WorksheetFunction.CountIf(Range("W1:Ac1"), Cells(y, i)) = 0 Then
Cells(1, sut) = Cells(y, i)
sutb = sut
sut = sut + 1
Else
sutb = WorksheetFunction.Match(Cells(y, i), Range("W1:AG1"), 0) + 22
End If
sat = Cells(Rows.Count, sutb).End(3).Row + 1
Cells(sat, sutb) = WorksheetFunction.Substitute(Cells(y, i).Address, "$", "")
atla:
Next y
Next i
Sub deneme()
Range("W1:AC20").ClearContents
sut = 23
For i = 1 To 4
For y = 3 To 10
If Cells(y, i) = "" Then GoTo atla
If WorksheetFunction.CountIf(Range("W1:Ac1"), Cells(y, i)) = 0 Then
Cells(1, sut) = Cells(y, i)
sutb = sut
sut = sut + 1
Else
sutb = WorksheetFunction.Match(Cells(y, i), Range("W1:AG1"), 0) + 22
End If
sat = Cells(Rows.Count, sutb).End(3).Row + 1
Cells(sat, sutb) = Left(WorksheetFunction.Substitute(Cells(y, i).Address, "$", ""), 1) & Cells(1, sutb)
atla:
Next y
Next i
End Sub