Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 804 Bytes

Excel.Workbook.RemoveUser.md

File metadata and controls

42 lines (26 loc) · 804 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Workbook.RemoveUser method (Excel)
vbaxl10.chm199138
vbaxl10.chm199138
Excel.Workbook.RemoveUser
f0a978a0-7bcf-3af4-a01a-831c6c854989
05/29/2019
medium

Workbook.RemoveUser method (Excel)

Disconnects the specified user from the shared workbook.

Syntax

expression.RemoveUser (Index)

expression A variable that represents a Workbook object.

Parameters

Name Required/Optional Data type Description
Index Required Long The user index.

Example

This example disconnects user two from the shared workbook.

Workbooks(2).RemoveUser 2

[!includeSupport and feedback]