211870/password-protecting-an-excel-file-in-c
Try this:
using Microsoft.Office.Interop.Excel //create your spreadsheet here... WorkbookObject.Password = password; WorkbookObject.SaveAs("spreadsheet.xls")
I hope this helps you.
You can use OLEDB to create and ...READ MORE
Under the 'Source' tab, choose the number ...READ MORE
Your first step would be to become ...READ MORE
In regards to your first edit, the ...READ MORE
Hello, you'll have to follow certain steps ...READ MORE
If you are familiar with using formulas ...READ MORE
You need to re-think this… the while ...READ MORE
Add Interop References. First we need to ...READ MORE
You must have Microsoft Visual Studio Tools ...READ MORE
Try the following code. using System; using System.Data; using Excel ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.