Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 5 And Len(Target.Value) > 0 Then
On Error Resume Next
ASE False
Target.Value = Target.Value / 100
ASE True
End If
End Sub
Sub ASE(ss)
With Application
.EnableEvents = ss
.ScreenUpdating = ss
End With
End Sub
Sub DivideBy100()
Dim wbk As Workbook
Dim wsh As Worksheet
Dim m As Long
Dim rng As Range
Application.ScreenUpdating = False
Set wbk = Workbooks.Open("Alert..xls") ' Add the path yourself
Set wsh = wbk.Worksheets(1)
m = wsh.Range("E" & wsh.Rows.Count).End(xlUp).Row
For Each rng In wsh.Range("E1:E" & m)
rng.Value = rng.Value / 100
Next rng
wbk.Close SaveChanges:=True
Application.ScreenUpdating = True
End Sub