Condividi tramite


Workbook.UserStatus Property

Gets a 1-based, two-dimensional array that provides information about each user who has the workbook open as a shared list.

Namespace:  Microsoft.Office.Tools.Excel
Assemblies:   Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
ReadOnly Property UserStatus As Object
Object UserStatus { get; }

Property Value

Type: System.Object
A 1-based, two-dimensional array that provides information about each user who has the workbook open as a shared list.

Remarks

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).

This property does not return information about users who have the specified workbook open as read-only.

.NET Framework Security

See Also

Reference

Workbook Interface

Microsoft.Office.Tools.Excel Namespace