Enable VBA
Quick overview
Slice buttons run through VBA macros, so Excel must be allowed to run VBA and to access the VBA project object model. Enable both options in the Excel Trust Center before creating or converting Slice buttons.
You need to Enable VBA to run VBA macro functions. Each button (Excel shape) has a function attached to it.
Trust access to the VBA project object model must be enabled in order to create VBA script programmatically. This is applicable to buttons creation and conversion.
Both options are found in Excel under File → Options → Trust Center → Trust Center Settings → Macro Settings.