We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Convert Byte to Excel

hi

i got the following code from aspose team

MemoryStream ms = new MemoryStream();

ms.Write(bytes, 0, bytes.Length);
ms.Position = 0;
Workbook workbook = new Workbook(ms);
but when am using this code am getting an error "Cannot find central directory" in the following line
" Workbook workbook = new Workbook(ms);" please help to resolve this problem

Hi

Thanks for your request. I will move your request into Aspose.Cells forum. My colleagues from Aspose.Cells team will answer you shortly.

Best regards,

Hi,

Please check my reply with code example, screenshot and the source and output files at this post:

https://forum.aspose.com/t/119157