I've run into a problem when trying to access a workbook codemodule in a xlsm file. The problem is that when it's decompressing a token the output is larger than the 4k+3 buffer that you specify. I've attached the workbook.
I can reproduce the problem by just creating a new ExcelPackage for the workbook then trying to access the Workbook.CodeModule property.
I can reproduce the problem by just creating a new ExcelPackage for the workbook then trying to access the Workbook.CodeModule property.