i am having a sheet1 where each time i am getting an email from someone the vba brings some info in my sheet one info in first available cell in column A and the other info next to it on column B,
now i want to make that each time i am getting new info then a macro should be fired, after the macro is finnish with the job, erase the data,
well can someone help me with a code on that?
i tried this but this workes only if i delete a cell not when it get a value
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells = Value Then
Application.Run "PERSONAL.XLSB!mymacro"
Else
Exit Sub
End If
End Sub
now i want to make that each time i am getting new info then a macro should be fired, after the macro is finnish with the job, erase the data,
well can someone help me with a code on that?
i tried this but this workes only if i delete a cell not when it get a value
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells = Value Then
Application.Run "PERSONAL.XLSB!mymacro"
Else
Exit Sub
End If
End Sub