WorksheetFunction.Munit Method (Excel)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the unit matrix for the specified dimension.

expression .Munit(Arg1)

expression A variable that represents a WorksheetFunction Object (Excel) 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

Show: