- Katılım
- 9 Eylül 2010
- Mesajlar
- 868
- Excel Vers. ve Dili
- 2016&2019&2021 TR
- Altın Üyelik Bitiş Tarihi
- 29-09-2023
Kod:
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Sheets("TR").Copy
ActiveWorkbook.SaveAs Filename:="C:\Users\iambar\Desktop\denemeler\TR" & Format(Now, "dd.mm.yyyy mm.ss") & ".xlsx"
Application.DisplayAlerts = True
ActiveWorkbook.ActiveSheet.Cells.Copy
ActiveWorkbook.ActiveSheet.Range("A1").PasteSpecial xlPasteValues
ActiveWorkbook.ActiveSheet.Cells.Interior.Pattern = xlNone 'Hücre Rengi sıfırla
ActiveWorkbook.ActiveSheet.Cells.Font.ColorIndex = xlAutomatic 'Hücre yazı rengi sıfırla
Application.DisplayAlerts = False
On Error Resume Next
ActiveWindow.Close True
Application.ScreenUpdating = True