View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Returning Error from Functions

cvErr(xlErrNA)

cvErr(xlErrDiv0)


? cvErr(xlErrNA)
Error 2042
? cvErr(xlErrDiv0)
Error 2007

--
Regards,
Tom Ogilvy


"LeninVMS " wrote in message
...
I want to return "#N/A" and "#DIV/0" errors from a user defined
function. Can someone help?

Thanks
Lenin


---
Message posted from http://www.ExcelForum.com/