https://bz.apache.org/bugzilla/show_bug.cgi?id=66612
--- Comment #3 from PJ Fanning <fannin...@yahoo.com> --- I tested your xlsm file and this code seems to get the macrosheet part String relType = "http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet"; PackageRelationshipCollection prc = workbook.getPackagePart().getRelationships(); assertNotNull(prc); assertEquals(6, prc.size()); PackageRelationshipCollection prc2 = prc.getRelationships(relType); assertNotNull(prc2); assertEquals(1, prc2.size()); workbook.getPackage() checks the wrong relationships - you need workbook.getPackagePart().getRelationships() -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org