Maro will be placed in macro.xlsm
Put decimal before second last number in column E of alert..xls by vba
so the reesult will be in column E is
1410.5
1510
Thnx
plz see the uploaded file
https://chandoo.org/forum/threads/put-d ... ost-266257
Code: Select all
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
This is not the solution that i am looking for
When I will run the macro and then the data will be changed according to the condition
& I need a single macro that does the same