Bagikan melalui


Workbook.UserStatus Property (2007 System)

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
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property UserStatus As Object
'Usage
Dim instance As Workbook 
Dim value As Object 

value = instance.UserStatus
[BrowsableAttribute(false)]
public Object UserStatus { get; }
[BrowsableAttribute(false)]
public:
property Object^ UserStatus {
    Object^ get ();
}
public function get UserStatus () : Object

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 Class

Workbook Members

Microsoft.Office.Tools.Excel Namespace