If I were to write a macro in python for libreoffice calc and save the file as an xlsx file will the macro work in ms excel on a windows pc?
I am thinking of learning python so I can write macros for ms excel in python on libreoffice.
If I were to write a macro in python for libreoffice calc and save the file as an xlsx file will the macro work in ms excel on a windows pc?
I am thinking of learning python so I can write macros for ms excel in python on libreoffice.
Sort of.
You won't be able to directly use python macros from libreoffice, but you can use python to automate MS office
See here: Using Python to program MS Office macros?
I've used the win32Com method, and it did everything i needed. I don't think there's much benefit of doing things this way unless you're using some of the power of python for other interactions.