This project has moved and is read-only. For the latest updates, please go here.

Worksheet.Drawings is null

Apr 15, 2014 at 11:00 PM
I am creating a new ExcelPackage from an existing template. That part is working fine, and I can retrieve the named worksheet. The problems is that the worksheet has a chart in it and I can't retrieve it from the "Drawings" collection using...
Dim chart As ExcelChart = ws.Drawings("chart1")
... because for some reason that Drawings collection is empty.

Does anybody know why this would happen?