On 07/16/2014 08:50 AM, francesco.zivi...@surftech.it wrote:
One thing I think will be useful is to explain for a beginner how to test
and run MS Office Macros in OpenOffice.
I know it shoud be possible but I could never understand exactly how and
whitch limitations I can expect.
Thank you.

The base language is very similar, but the MSO version is riddled with annoying behaviors (I will call them bugs) such as the fact that things such as LBOUND will fail on an uninitialized array. This has been fixed in OO. So, if you have a macro that uses the language features and does not modify a document, it will probably work.

Side note: If you are writing macros for MSO to run in MSO, use .NET; it is not portable, but it sure beats working around the poor language implementation.

OK, back again.... If you are manipulating a document, just assume it will not work with exceptions for very common operations in Calc documents after you set compatibility mode. They may have support for other document types, but I am not aware of it - and I have very little experience trying to open MSO macros in OO. So, consider it a mostly uninformed opinion in that regard.



Ing. Francesco Ziviani
Sales Manager

Tel. +39 348 4109172
Fax. +39 045 21090140
E-mail francesco.zivi...@surftech.it

Surftech S.r.l.
Via dei Montecchi 8 - 37031 Illasi (VR)
www.surftech.it

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@openoffice.apache.org
For additional commands, e-mail: users-h...@openoffice.apache.org

Reply via email to