troubleshooting Question

Worksheet Event Excel VBA

Avatar of Rayne
RayneFlag for United States of America asked on
Microsoft ExcelVBAMicrosoft Office
6 Comments2 Solutions89 ViewsLast Modified:
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
ASKER CERTIFIED SOLUTION
Doug

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros