Hi all, is any way to block an excel makro's execution or VBA formulas that check (or calculate) cells. I have to work with not my own excel file that is protected by password. I can open file, add data and save it. Finally the file has 0 byte and I can
not open it by Excel.
// C# code
fs = new FileStream("Invoice list - Form.xls", FileMode.Open, FileAccess.Read);
this.wb = new HSSFWorkbook(fs, true);
this.ws = wb.GetSheet("Form 1");
// fill out a cell
FileStream fsw = new FileStream("Invoice list.xls", FileMode.Create, FileAccess.Write);