Sub ACurrentYours()
If Not Backend2.Range("B93") Then
With Range("E13:J13")
.Borders(xlTop).LineStyle = xlNone
.Borders(xlRight).LineStyle = xlNone
.Borders(xlBottom).LineStyle = xlNone
.Borders(xlLeft).LineStyle = xlNone
.Font.ColorIndex = 2
End With
Range("E13", "G13", "I13").ClearContents
Range("G13") = 0
Range("E13", "G13", "I13").Locked = True
Else
With Range("E13", "G13", "I13")
.Borders(xlTop).LineStyle = xlSolid
.Borders(xlRight).LineStyle = xlSolid
.Borders(xlBottom).LineStyle = xlSolid
.Borders(xlLeft).LineStyle = xlSolid
End With
Range("E13:J13").Font.colorindext = 1
Range("G13") = 75#
' is this part correct??
Backend2.Range("D93") = 1
Range("E13", "G13", "I13").Locked = True
Range("E13").Select
End If
End Sub
Sub BCurrentYours()
If Not Backend2.Range("B95") Then
With Range("E15:J15")
.Borders(xlTop).LineStyle = xlNone
.Borders(xlRight).LineStyle = xlNone
.Borders(xlBottom).LineStyle = xlNone
.Borders(xlLeft).LineStyle = xlNone
.Font.ColorIndex = 2
End With
Range("E15", "G15", "I15").ClearContents
Range("G15") = 0
Range("E13", "G13", "I13").Locked = True
Else
With Range("E15", "G15", "I15")
.Borders(xlTop).LineStyle = xlSolid
.Borders(xlRight).LineStyle = xlSolid
.Borders(xlBottom).LineStyle = xlSolid
.Borders(xlLeft).LineStyle = xlSolid
End With
Range("E15:J15").Font.colorindext = 1
Range("G13") = 75#
' is this part correct??
Backend2.Range("D95") = 1
Range("E15", "G15", "I15").Locked = True
Range("E15").Select
End If
End Sub