On 18/11/2016 20.41, Paolo wrote:
> Sub incrementare_di_1()
> Dim r As Range
> Set r = ActiveSheet.Buttons(Application.Caller).TopLeftCell
> Range(Cells(r.Row, r.Column), Cells(r.Row, r.Column)).Select
> ActiveCell.Offset(0, 2).Value = ActiveCell.Offset(0, 2).Value + 1
> End Sub
Forse un po' più semplice e più diretto sarebbe:
'=========>>
Public Sub incrementare_di_1()
Dim r As Range
Set r = ActiveSheet.Buttons(Application.Caller).TopLeftCell
With r.Offset(0, 2)
.Value = .Value + 1
End With
End Sub
'<<=========
===
Regards,
Norman