VBA Function in Excel

  • Thread starter Thread starter Pradeep
  • Start date Start date
P

Pradeep

I have written a function in VBA. When I use that function in Excel it
gives me #Name!, which i think probably means that it could not find
the function. The function is defined in the same sheet.

kindly advice.
 
Move the UDF code into a General module. Don't keep it in that worksheet
module.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top