Workbook.UserStatus (Excel)

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). The UserStatus property doesn't return information about users who have the specified workbook open as read-only.


Dim varUserStatus As Variant
varUserStatus = ActiveWorkbook.UserStatus