WorksheetFunction.IfNa(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the value you specify if the expression resolves to #N/A, otherwise returns the result of the expression.
public:
System::Object ^ IfNa(System::Object ^ Arg1, System::Object ^ Arg2);
public object IfNa (object Arg1, object Arg2);
Public Function IfNa (Arg1 As Object, Arg2 As Object) As Object
Parameters
- Arg1
- Object
value: Any value or expression or reference.
- Arg2
- Object
value_if_na: Any value or expression or reference.
Returns
VARIANT