Very new to VBA in Excel, he was asked to do some check on cell change and got a little stuck.
So, the user needs to enter a monetary value in the cell, say, D16, so I thought that I would connect to the _Change event on the Worksheet, which works pretty well.
However, I need the rest of the worksheet to not complete the calculation when the record was sent to D16, basically when 500000 is entered, other cells are updated with values ββfrom another sheet.
My code
Private Sub Worksheet_Change(ByVal Target As Range) If Target = Range("D16") Then Dim numeric numeric = IsNumeric(Target) If numeric = False Then MsgBox "error" Exit Sub
source share