Link to home
Start Free TrialLog in
Avatar of Rayne
RayneFlag for United States of America

asked on

Worksheet Event Excel VBA

Hello,

I have a worksheet change event code I need to make. if users enters "=Sum(2+3") in a cell, it works fine. But if uswers enter something like this, in a cell
"=Su(1+2)"
it leads to "#Name?" in cell.

How do i capture this error in VBA code?

Thank you
Avatar of Rayne
Rayne
Flag of United States of America image

ASKER

Avatar of Rayne

ASKER

how to capture that formula error in vba worksheet change code?

thank you
ASKER CERTIFIED SOLUTION
Avatar of Doug
Doug
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rayne

ASKER

thank you all :)
Happy to help.