Version

SetPassword(SecureString) Method

Sets the password required to unlock the associated range of cells.
Syntax
'Declaration
 
Public Overloads Sub SetPassword( _
   ByVal password As SecureString _
) 
public void SetPassword( 
   SecureString password
)

Parameters

password
The password that must be entered to unlock the associated range of cells.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also