what language do I need to write macros in LIbre Office Calc? [closed]

感情迁移 提交于 2019-12-03 17:22:51

问题


I've written a bunch of VBA code for various things in Excel. I'm looking at migrating to libreOffice. Under Tool->Macros->Organize Macros: the two choices are LibreOffice Basic and Python.

Should I learn one of those, both, or something else. Am I wasting my time altogether? Any suggestions appreciated.


回答1:


Python is the way to go.

Start here: http://wiki.python.org/moin/BeginnersGuide

And no, you're not wasting time. You'll look back and say, why didn't I do it sooner.




回答2:


Python's a great skill to learn - I use it for everything. It's the glue language for virtually every tool out there (you can even use it with .Net).

Documentation for Python + LibreOffice is however a bit sketchy currently, although I don't have much experience with Calc.

There is some work-in-progress documentation at http://documenthacker.wordpress.com (or soon www.documenthacker.com). It has examples for working with Writer, rather than Calc, but you might still find it useful.



来源:https://stackoverflow.com/questions/11638170/what-language-do-i-need-to-write-macros-in-libre-office-calc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!