- Katılım
- 15 Temmuz 2012
- Mesajlar
- 2,802
- Excel Vers. ve Dili
- Ofis 2021 TR 64 Bit
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sayın asri, ilginiz için çok teşekkür ediyorum.
Bu işlemi makro ile yapabilir miyiz?
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Target.Value = "" Then Exit Sub
If Intersect(Target, Range("H3")) Is Nothing Then Exit Sub
veri = Target.Value
For i = 10 To 207 Step 2
Cells(3, i).Value = Target.Value
Next i
End Sub
Sub butonlu()
For i = 10 To 207 Step 2
Cells(3, i).Value = Range("H3").Value
Next i
End Sub
Sub Aktar()
If Target.Cells.Count > 1 Then Exit Sub
If Target.Value = "" Then Exit Sub
If Intersect(Target, Range("H3")) Is Nothing Then Exit Sub
veri = Target.Value
For i = 10 To 207 Step 2
Cells(3, i).Value = Target.Value
Next i
End Sub
Sayın asri, kod gayet güzel çalışıyor, ellerinize sağlık. Kusura bakmayın uğraştırmak istemiyorum.
Bu kodu aşağıdaki gibi butona bağladığımda hata verdi.
Bu işlemi butonla yapmak istiyorum.
Kod:Sub Aktar() If Target.Cells.Count > 1 Then Exit Sub If Target.Value = "" Then Exit Sub If Intersect(Target, Range("H3")) Is Nothing Then Exit Sub veri = Target.Value For i = 10 To 207 Step 2 Cells(3, i).Value = Target.Value Next i End Sub