You are on page 1of 2

nextrow = nextrow+1

next
end sub

Range("3:3,4:4,5:5,6:6").Select
Range("A6").Activate
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent4
.TintAndShade = 0.799981688894314
.PatternTintAndShade = 0
End With
Range("7:7,8:8,9:9,10:10,11:11,12:12").Select
Range("A12").Activate
With Selection.Interior
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent1
.TintAndShade = 0.799981688894314
.PatternTintAndShade = 0
End With
Range("13:13,14:14,15:15,16:16").Select
Range("A16").Activate
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent2
.TintAndShade = 0.599993896298105
.PatternTintAndShade = 0
End With
ActiveWindow.SmallScroll Down:=3
Range("17:17,18:18,19:19,20:20,21:21").Select
Range("A21").Activate
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent6
.TintAndShade = 0.599993896298105
.PatternTintAndShade = 0
End With
ActiveWindow.SmallScroll Down:=9
Range("17:17,18:18,19:19,20:20,21:21,22:22").Select
Range("A22").Activate
With Selection.Interior
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorAccent6
.TintAndShade = 0.599993896298105
.PatternTintAndShade = 0
End With
Range("23:23,24:24,25:25,26:26").Select
Range("A26").Activate
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.ThemeColor = xlThemeColorDark2
.TintAndShade = -0.249977111117893
.PatternTintAndShade = 0
End With

Range("A3").Select

For i = 1 To 26

If Cells(i, 1).Value = "A111" Then


Cells(i, 1).Value = "A111_E1C"
ElseIf Cells(i, 1).Value = "A11U" Then
Cells(i, 1).Value = "A11U_E1C"
ElseIf Cells(i, 1).Value = "A211" Then
Cells(i, 1).Value = "A211_E2A"
ElseIf Cells(i, 1).Value = "A212" Then
Cells(i, 1).Value = "A212_E2A"
ElseIf Cells(i, 1).Value = "A21U" Then
Cells(i, 1).Value = "A21U_E2A"
ElseIf Cells(i, 1).Value = "C111" Then
Cells(i, 1).Value = "C111_W2A"
ElseIf Cells(i, 1).Value = "C11U" Then
Cells(i, 1).Value = "C11U_W2A"
ElseIf Cells(i, 1).Value = "C211" Then
Cells(i, 1).Value = "C111_W2A '"
ElseIf Cells(i, 1).Value = "C212" Then
Cells(i, 1).Value = "C112_W2A '"
ElseIf Cells(i, 1).Value = "C21U" Then
Cells(i, 1).Value = "C11U_W2A '"
ElseIf Cells(i, 1).Value = "C311" Then
Cells(i, 1).Value = "C111_W1C"
ElseIf Cells(i, 1).Value = "C31U" Then
Cells(i, 1).Value = "C112_W1C"

End If
Next

End Sub

You might also like