Ask Your Question

How to test for LO version in Calc macro? [closed]

asked 2013-04-30 15:16:28 +0200

Gaffer gravatar image

updated 2015-10-31 02:22:35 +0200

Alex Kemp gravatar image

I have a macro that only works correctly in LO

I would like to be able to test that the user has this (or later) version installed.

I thought that the cell formula "=INFO("release") might help but that only produces the unhelpful string "84102822e3d61eb989ddd325abf1ac077904985"

How can I test for the version of Libre Office in my macro?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-31 02:22:52.042854

1 Answer

Sort by » oldest newest most voted

answered 2013-05-01 16:27:40 +0200

newOOo3 gravatar image


Do you want to know how to get LO Version using macro? If so, you use "GetSolarVersion" or "" / "". However, 4.0.12 will return value as 4.0.0. You can see the following URL for the sample code;

edit flag offensive delete link more


Fabulous. Many thanks.

Gaffer gravatar imageGaffer ( 2013-05-01 18:22:05 +0200 )edit

Question Tools


Asked: 2013-04-30 15:16:28 +0200

Seen: 217 times

Last updated: May 01 '13