Specify Author while Write Protecting Workbook
Contents
[
Hide
]
Possible Usage Scenarios
You can specify author name while write protecting your workbook using Aspose.Cells for Python via .NET API. Please use Workbook.settings.write_protection.author property for this purpose.
Specify Author while Write Protecting Workbook
The following sample code explains the usage of Workbook.settings.write_protection.author property. The code creates an empty workbook, write protects it with a password, specifies the author name and saves it as output Excel file. The following screenshot illustrates the effect of the sample code on the output Excel file for your reference.