GenerateXLSPassword Method
In This Topic
Generates the password to protect the workbook structure in the XLS file. This is based on https://msdn.microsoft.com/en-us/library/dd926947(v=office.12).aspx Internal use only.
Syntax
'Declaration
Public Shared Function GenerateXLSPassword( _
ByVal As String _
) As Byte()
'Usage
Dim password As String
Dim value() As Byte
value = ExcelHelper.GenerateXLSPassword(password)
public static byte[] GenerateXLSPassword(
string
)
Parameters
- password
See Also