Veja se esta sugestão atende:
Cole o codigo abaixo, no vbe da sua planilha(aba)
Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
Dim c As Range
Dim ct_v As Integer
Dim end_1 As String
With Worksheets("Plan1") 'Altere se necessario
Set rng = .Range("e16:z16")
If Not Intersect(Target, rng) Is Nothing Then
Set c = rng.Find("*v*", LookIn:=xlValues)
If Not c Is Nothing Then
end_1 = c.Address
Do
ct_v = ct_v + 1
If ct_v > 1 Then
c.Interior.ColorIndex = 3
MsgBox "Somente uma letra 'v' é permitido", "", ""
c.ClearContents
c.Interior.ColorIndex = xlNone
End If
Set c = rng.FindNext(c)
Loop While Not c Is Nothing And c.Address <> end_1
End If
End If
End With
End Sub
Click em se a resposta foi util!
Postado : 27/01/2018 12:04 pm