You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.
I try to read and manipulate xlsx file and dowload the file, how to do that ?
and there is no Saveas method ?
FileInfo existingFile = new FileInfo(csvPath);
using (ExcelPackage package = new ExcelPackage(existingFile))
{
//get the first worksheet in the workbook
ExcelWorksheet worksheet = package.Workbook.Worksheets.First();
worksheet.Protection.IsProtected = false;
worksheet.Protection.AllowSelectLockedCells = false;
package.Saveas() ?
}
Thanks
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I try to read and manipulate xlsx file and dowload the file, how to do that ?
and there is no Saveas method ?
FileInfo existingFile = new FileInfo(csvPath);
using (ExcelPackage package = new ExcelPackage(existingFile))
{
//get the first worksheet in the workbook
ExcelWorksheet worksheet = package.Workbook.Worksheets.First();
worksheet.Protection.IsProtected = false;
worksheet.Protection.AllowSelectLockedCells = false;
package.Saveas() ?
}
Thanks
The text was updated successfully, but these errors were encountered: