The VBA created in an Excel sheet that is embedded in a Powepoint presentation is not saved.
I have a Powerpoint file, in which I have Inserted a Chart, thus creating an embedded Excel Workbook.
I have tried adding some VBA to said embedded Excel Workbook. IT all worked fine and my VBA worked as expected.
Until I closed the embedded Excel file and tried reopening it (by right clicking on the Powerpoint Chart and clicking on Edit Data). After reopening it, all of my VB was gone.
I suspect it has something to do with the embedded Excel file not being Macro enabled, but I can't figure out how to change this.
(Happy to provide a sample file if required)