VB.NET - Protect a Workbook



Protects an Excel workbook and its contents.

'Assembly: Microsoft.Office.Interop.Excel.dll
'Namespace: Excel = Microsoft.Office.Interop.Excel
'Dim workbook AS Microsoft.Office.Interop.Excel.Workbook = "workbook"
workbook.Protect(password, structure, windows)		

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.