addMacroFromXlsx
addMacroFromXlsx
BASIC / ADVANCED / PREMIUM
Adds a macro from an XLSX into the Excel spreadsheet.
Description
public addMacroFromXlsx($source)
This method allows importing an XLSX macro.
Parameters
source
The path of the Excel document (.xlsm) from which you wish to import the macros.
Exceptions
File can't be opened.
Macro not found.
Code samples
Example #1
Release notes
- phpxlsx 2.5:
- new method.