Partager via


_Workbook.UserStatus Property

Returns a 1-based, two-dimensional array that provides information about each user who has the workbook open as a shared list. The first element of the second dimension is the name of the user, the second element is the date and time when the user last opened the workbook, and the third element is a number indicating the type of list (1 indicates exclusive, and 2 indicates shared). Read-only Object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property UserStatus As Object
    Get
'Usage
Dim instance As _Workbook
Dim value As Object

value = instance.UserStatus
Object UserStatus { get; }

Property Value

Type: System.Object

Remarks

The UserStatus property doesn't return information about users who have the specified workbook open as read-only.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace