title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Workbook.RemoveUser method (Excel) |
vbaxl10.chm199138 |
|
|
f0a978a0-7bcf-3af4-a01a-831c6c854989 |
05/29/2019 |
medium |
Disconnects the specified user from the shared workbook.
expression.RemoveUser (Index)
expression A variable that represents a Workbook object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
Index | Required | Long | The user index. |
This example disconnects user two from the shared workbook.
Workbooks(2).RemoveUser 2
[!includeSupport and feedback]