DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub numan()
Dim a As Long
On Error Resume Next
Application.ScreenUpdating = False
For a = 1 To Worksheets.Count
Sheets("Sayfa1").Select
Cells.Select
Selection.Copy
If Sheets(a).Name <> "Sayfa1" Then
Sheets(a).Cells.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
Sheets(a).Range("J1").Value = Date
End If
Next a
Sheets("Sayfa1").Range("J1").Select
Application.ScreenUpdating = True
MsgBox "İşlem Tamamlandı", vbInformation, ""
End Sub
Merhaba
Dener misiniz
Kod:Sub numan() Dim i As Long On Error Resume Next Application.ScreenUpdating = False For a = 2 To Worksheets.Count Sheets("Sayfa1").Select Cells.Select Selection.Copy If Sheets(a).Name <> "Sayfa1" Then Sheets(a).Cells.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _ SkipBlanks:=False, Transpose:=False Application.CutCopyMode = False Sheets(a).Range("J1").Value = Date End If Next a Sheets("Sayfa1").Range("J1").Select Application.ScreenUpdating = True MsgBox "İşlem Tamamlandı", vbInformation, "" End Sub
Sub numan()
Dim a As Long
On Error Resume Next
Application.ScreenUpdating = False
For a = 1 To Worksheets.Count
Sheets("Sayfa1").Select
Cells.Select
Selection.Copy
If Mid(Sheets(a).Name, 1, 3) = "TRM" Then
Sheets(a).Cells.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
End If
Sheets("Sayfa1").Range("A1:I1").Copy
If Mid(Sheets(a).Name, 1, 3) = "TRM" Then
Sheets(a).Paste
Sheets(a).Range("J1").Value = Date
End If
Application.CutCopyMode = False
Next a
Sheets("Sayfa1").Range("J1").Select
Application.ScreenUpdating = True
MsgBox "İşlem Tamamlandı", vbInformation, ""
End Sub
Sub numan()
Dim a As Long
On Error Resume Next
Application.ScreenUpdating = False
For a = 1 To Worksheets.Count
Sheets("Sayfa1").Select
Cells.Select
Selection.Copy
If Mid(Sheets(a).Name, 1, 3) = "TRM" Then
Sheets(a).Cells.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
End If
Sheets("Sayfa1").Range("A1:I1").Copy
If Mid(Sheets(a).Name, 1, 3) = "TRM" Then
Sheets(a).Paste
Sheets(a).Range("J1").Value = Date
Sheets(a).Range("A2:I5000").Borders.LineStyle = xlNone
With Sheets(a).Range("A2:I" & Sheets(a).[A5000].End(3).Row).Borders
.LineStyle = xlContinuous
.ColorIndex = 1
.Weight = xlThin
End With
End If
Application.CutCopyMode = False
Next a
Sheets("Sayfa1").Range("J1").Select
Application.ScreenUpdating = True
MsgBox "İşlem Tamamlandı", vbInformation, ""
End Sub