Basta acrescentar a(s) range(s) a ser limpara antes do final da rotina
Sub Apagactrl()
With Sheets("Plan1")
For Each sh In .Shapes
'MsgBox sh.Name
If UCase(Left(sh.Name, 3)) = "OPT" Or UCase(Left(sh.Name, 3)) = "CHE" Then
sh.Select
With Selection
.Value = xlOff
End With
End If
Next
.Range("C11,F11,J11,C14,C16,C18,F14,F16,F18,F20,I16,I18,B23:J24").ClearContents
.Range("K25").Select
End With
End Sub
Existem mil maneiras de preparar Neston. Invente a sua!
http://www.youtube.com/ExpressoExcel
Postado : 22/04/2013 7:32 am