Rediger

Del via


WorksheetFunction.Munit method (Excel)

Returns the unit matrix for the specified dimension.

Syntax

expression.Munit (Arg1)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Double Integer specifying the dimension of the unit matrix that you want to return.

Return value

Variant

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.