RemoveUser Method
Applies To
Workbook object.
Description
Disconnects the specified user from the shared workbook.
Syntax
expression.RemoveUser(Index)
expression Required. An expression that returns a Workbook object.
Index Required Long. The user index.
Example
This example disconnects user two from the shared workbook.
Workbooks(2).RemoveUser 2