is there a way to create a new .XLSM file in python? (alternatively) Is there a way to create .XLSM file from a .XLS or .XLSX file within python?
from openpyxl import Workbook
wb = Workbook()
wb.save('myExcelFile.xlsm')
I tried the above but it creates a non-functioning/ corrupt file. Thanks in advance :)