Private Sub Worksheet_SelectionChange(ByVal Target As Range)
With Sheet1.Range("C:C")
X = Sheet1.[A65536].End(xlUp).Row
For M = 2 To X
If Sheet1.Cells(M, 1) Like "*橘子*" Then
' If 1 = 1 Then
Sheet1.Cells(M, 3) = "不用輸入"
Sheet1.Cells(M, 3).Interior.ColorIndex = 34
End If
Next
End With
End Sub