excel - Return #N/A error from ExcelDNA -


i'm pretty new exceldna, may missing obvious. i'm trying return #n/a exceldna udf. function i'm using (via visual studio 2010) below:

public static object returnerror() {     return exceldna.integration.excelerror.excelerrorna; } 

when called excel worksheet, returns #value - need #n/a. can't return string "#n/a", excel functions iserror() won't work on it.

replacing excelerrorna other error types, example excelerrordiv0 still yields #value.

any appreciated

ok - looks have stop exceldna.integration reference copying locally this. original thread found here:

https://groups.google.com/forum/#!topic/exceldna/meyq0-liglm


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -