0

I created a macro using VBA and I want generate an excel file from python that is macro-enabled and has a button with this macro

xlwings

Pᴇʜ
  • 56,719
  • 10
  • 49
  • 73
PSA B
  • 3
  • 3
  • Why don't you just copy that file using `xlwings` and then manipulate accordingly. That will retain your Macro and buttons. – Mikku Jun 17 '19 at 04:32
  • See Here on how to [save](https://stackoverflow.com/questions/27281914/how-do-i-save-a-workbook-using-xlwings) a Workbook using `Xlwings` – Mikku Jun 17 '19 at 04:34

0 Answers0