DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub CommandButton1_Click()
Range("F6").Select
ActiveCell.FormulaR1C1 = _
"=IF(WEEKDAY(R[-1]C,2)=6,""c"",IF(WEEKDAY(R[-1]C,2)=7,""p"",""x""))"
Range("F6").Select
Selection.AutoFill Destination:=Range("F6:AJ6"), Type:=xlFillDefault
Range("F7").Select
ActiveCell.FormulaR1C1 = "=R[-1]C"
Range("F7").Select
Selection.AutoFill Destination:=Range("F7:AJ7"), Type:=xlFillDefault
Range("F7:AJ7").Select
Selection.AutoFill Destination:=Range("F7:AJ17"), Type:=xlFillDefault
Range("F7:AJ17").Select
Range("F6:AJ17").Select
With Selection
.HorizontalAlignment = xlGeneral
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("R19").Select
End Sub
Private Sub CommandButton1_Click()
Range("F6").Select
ActiveCell.FormulaR1C1 = _
"=IF(R[-1]C="""","""",IF(WEEKDAY(R[-1]C,2)=6,""c"",IF(WEEKDAY(R[-1]C,2)=7,""p"",""x"")))"
Range("F6").Select
Selection.AutoFill Destination:=Range("F6:AJ6"), Type:=xlFillDefault
Range("F6:AJ6").Select
Range("F7").Select
ActiveCell.FormulaR1C1 = "=R[-1]C"
Range("F7").Select
Selection.AutoFill Destination:=Range("F7:AJ7"), Type:=xlFillDefault
Range("F7:AJ7").Select
Selection.AutoFill Destination:=Range("F7:AJ17"), Type:=xlFillDefault
Range("F7:AJ17").Select
Range("F6:AJ17").Select
With Selection
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
With Selection
.HorizontalAlignment = xlCenter
.VerticalAlignment = xlCenter
.WrapText = False
.Orientation = 0
.AddIndent = False
.IndentLevel = 0
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False
End With
Selection.Copy
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("AL2:AL3").Select
Application.CutCopyMode = False
End Sub
Sayın anemis cumartesi ve pazar günlerine ait sütunlar renkli olabilirmi yeşil renk . Saygılar ekteki gibi