I have .xlsm file with a Macro function. I\'m loading it using openpyxl and write some data to the file and finally want t
it's better to use xlwings to work with xlsm documents. I have tested it.
import xlwings as xw
wb = xw.Book(DATA.xlsm)