Question: how to edit xlam file?
Answer: Press Alt + F11 to view the VBA editor. On left hand side, Project Explorer click on “VBAProject(filename.xlam)” Click on “Microsoft Excel Objects” -> “Thisworkbook” Press F4. ...  Search for “IsAddin” property. Change the value from “True” to “False”.