How to run a macro which we had created in Excel 2007?

Hi,

I have created a macro in excel 2007. I have installed LibreOffice 4.1, the macro which I had created in excel 2007 doesn’t work in LibreOffice. Is there any solution to run the same? or I need to change the codings? If yes, then how can I do the same to work the macro?

Please suggest as soon as possible.

Thank you…

Would you describe the warning/error msg when running the macro?
I do think it probably caused by incomplete function declaration required by LO BASIC.
In Excel you can write “… Function funcname (…)”
but in LO you must write like this: "… Function funcname (…) as … "