SaveToStream

Workbook.SaveToStream method

Saves Excel file to a MemoryStream object and returns it.

public MemoryStream SaveToStream()

Return Value

MemoryStream object which contains an Excel file.

Remarks

This method provides same function as Save method and only save the workbook as Excel97-2003 xls file. It’s mainly for calling from COM clients.

See Also