Skip to content

Commit 2b5688a

Browse files
261508-HideOrUnhideShapeExample
1 parent 186cd76 commit 2b5688a

File tree

1 file changed

+2
-2
lines changed
  • Excel Shapes/Hide or Unhide Shape/.NET/Hide or Unhide Shape/Hide or Unhide Shape

1 file changed

+2
-2
lines changed

Excel Shapes/Hide or Unhide Shape/.NET/Hide or Unhide Shape/Hide or Unhide Shape/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ static void Main(string[] args)
3232
//Saving the workbook as stream
3333
FileStream outputStream = new FileStream("Output/Output.xlsx", FileMode.Create, FileAccess.Write);
3434
workbook.SaveAs(outputStream);
35-
workbook.Close();
36-
excelEngine.Dispose();
35+
outputStream.Dispose();
36+
inputStream.Dispose();
3737
}
3838

3939
}

0 commit comments

Comments
 (0)