Boa tarde!!
Correção do intervalo ("Y10:AQ19")
Sub AleVBA_22502()
Dim Area
Dim c As Range
Application.EnableEvents = False
Application.ScreenUpdating = False
For Each Area In Range("C10:U19").Areas
Area.Offset(, 22).Value = Area.Value
Next
For Each c In Range("Y10:AQ19")
If (c.Value = [R7].Value) Or (c.Value = [S7].Value) Or (c.Value = [T7].Value) Or (c.Value = [U7].Value) Then c.ClearContents
Next c
Application.EnableEvents = True
Application.ScreenUpdating = True
End Sub
Att
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 06/11/2016 3:00 pm