1. if err := f.SetSheetPrOptions("Sheet1", excelize.CodeName("Sheet1")); err != nil {
    2. if err := f.AddVBAProject("vbaProject.bin"); err != nil {
    3. if err := f.SaveAs("macros.xlsm"); err != nil {