By: Hassan Shuvo

In reply to Jaye.

Hello Jaye,
Hope you are doing well.
#NAME error appears when you have a syntax problem in your formula. There shouldn’t be any #NAME error appearance when you add a new sheet to your workbook. We have checked out the VBA and the function and didn’t find any problem.

We recommend you share your file or at least a Screenshot of the problem with us and we will get back to you about a solution.

Regards
Hassan Shuvo || ExcelDemy