Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Address(False, False) = "C4" Then
Cancel = True
Application.ScreenUpdating = False
Sheets.Add.Name = "SunOp-FGSch"
Sheets("SunOp-FGSch").Activate
Sheets("SunOp-FGSch").Range("A1").FormulaR1C1 = "Materials"
Sheets("SunOp-FGSch").Range("B1").FormulaR1C1 = "Description"
Sheets("SunOp-FGSch").Range("C1").FormulaR1C1 = "FG Scheduled"
Sheets("SunOp-FGSch").Range("A1:C1").Select
With Selection.Font
.ThemeColor = xlThemeColorDark1
.Bold = True
.Name = "Arial"
.Size = 10
End With
With Selection.Interior
.ThemeColor = xlThemeColorLight1
End With
Sheets("SunOp-FGSch").Range("A2:A5000").Formula = "=IF(AND(MasterList!E3=""Sun Optics"", MasterList!T3>0),MasterList!B3,"""")"
Sheets("SunOp-FGSch").Range("A2:A" & lastRow).Sort _
Key1:=Sheets("SunOp-FGSch").Columns("A"), Order:=xlDescending
Application.ScreenUpdating = True
End If