Una famiglia di software per fogli di calcolo Microsoft con strumenti per l'analisi, la creazione di grafici e la comunicazione dei dati.
Io semplificherei:
Public Sub Cancella()
Dim rngCells As Range, rngCell As Range
Dim intA As Integer, arrS
If MsgBox("CANCELLARE DEFINITIVAMENTE I DATI? ", vbYesNoCancel + vbQuestion, "Attenzione!") = vbYes Then
arrS = [{"Januar", "Februar"}]
For intA = 1 To UBound(arrS)
Set rngCells = Worksheets(arrS(intA)).Range("D2:D32,E2:E32")
For Each rngCell In rngCells
With rngCell
If Not IsNumeric(.Value) Then
.ClearContents
End If
End With
Next rngCell
Next intA
End If
End Sub
nell'array arrS aggiungi tutti i nomi dei fogli che vuoi esaminare,
ciao.