Right click the sheet tab, view code and paste this in. Works on the range A1
- A100 so change to suit.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Or Target.HasFormula Or IsEmpty(Target) Then
Exit Sub
If Not Intersect(Target, Range("A1:A100")) Is Nothing Then 'Change to suit
If IsNumeric(Target) Then
Application.EnableEvents = False
Target = Target / 40
Application.EnableEvents = True
On Error GoTo 0
End If
End If
End Sub
Mike