[Solved] Support for xlsm? -> No

Discuss the spreadsheet application
Locked
bstott
Posts: 3
Joined: Mon Oct 14, 2019 8:23 pm

[Solved] Support for xlsm? -> No

Post by bstott »

why does open office NOT support these files?
Last edited by Hagar Delest on Mon Oct 14, 2019 9:38 pm, edited 1 time in total.
Reason: tagged solved
open Office 4 onWindows 10
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: xlsm

Post by RusselB »

Welcome to the Forums.
OpenOffice doesn't support .xlsm files, due to the fact that they are macro-enabled and Microsoft's macro language is not the same as the macro language (actually languages, since there's more than one) that OpenOffice does support.

If you need to use a macro-enabled .xls file, then OpenOffice is not for you. I don't have any .xlsm files to test with, so LibreOffice might work, since there are reports of LibreOffice having a better compatibility with Microsoft Office.
If you try LibreOffice and you still can't use the .xlsm files, then, to my knowledge, using a version of Microsoft Office is your only option.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
bstott
Posts: 3
Joined: Mon Oct 14, 2019 8:23 pm

Re: xlsm

Post by bstott »

So much for 'open' office. The reply does not answer the question WHY.

Open office deleted...
open Office 4 onWindows 10
User avatar
RoryOF
Moderator
Posts: 35210
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: xlsm

Post by RoryOF »

OpenOffice does not claim, and has never claimed, to be a clone of MS Office. One can download it free; if it doesn't suit you, don't use it.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
User avatar
RusselB
Moderator
Posts: 6646
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: [Solved] Support for xlsm? -> No

Post by RusselB »

The answer to why is given in my reply.. but to make it simpler, the reason why is due to an incompatibility between macro languages.
OpenOffice 4.1.7, LibreOffice 7.0.1.2 on Windows 7 Pro, Ultimate & Windows 10 Home (2004)
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
bstott
Posts: 3
Joined: Mon Oct 14, 2019 8:23 pm

Re: [Solved] Support for xlsm? -> No

Post by bstott »

I'm not ~@ I cannot anyway as it can not deal with macro's, Libra Office however does!
Byeee... ;)
open Office 4 onWindows 10
FJCC
Moderator
Posts: 9624
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: [Solved] Support for xlsm? -> No

Post by FJCC »

I would be very cautious about accepting that a program can take code from another program and translate it reliably. The simpler the code, the more likely that is to be true. If your macros do critical calculations, where an error would have serious consequences, I would check the identity of the results very carefully. Failure to throw an error does not mean everything worked the same.
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
Zizi64
Volunteer
Posts: 11505
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: [Solved] Support for xlsm? -> No

Post by Zizi64 »

Libra Office
The name is LibreOffice.

Yes, the LibreOffice can run some xlsm macros, but not all of them.
You must rewrite your excel VBA macros based on the StarBasic (or an another supported programming language) and the API of the LibreOffice. API : Application Programming Interface.
Tibor Kovacs, Hungary; LO7.5.8/25.8.5.2 /Win7-10-11 x64Prof.
PortableApps: LO3.3.0-25.8.5.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
David Van Camp
Posts: 2
Joined: Fri Dec 13, 2024 8:12 am

Re: [Solved] Support for xlsm? -> No

Post by David Van Camp »

So, that begs the question: Why does Open Office want to on install by default link all *.xlsm files to Open Office (or even offer it as an option) if it cannot read them? This is an error that needs to be fixed IMHO. I just sat here waiting for a ridiculous amount of time, and then closing and trying again for no purpose whatsoever There wasn't even any error mes
Last edited by David Van Camp on Fri Dec 13, 2024 8:41 am, edited 1 time in total.
OpenOffice 4.1.15 on Windows 11
User avatar
Hagar Delest
Moderator
Posts: 33630
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Support for xlsm? -> No

Post by Hagar Delest »

AOO can read the .xslm files, it just cannot execute them (same for LO by the way).
It allows users to open such files and redo the code (and then save in ODF of course).
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
David Van Camp
Posts: 2
Joined: Fri Dec 13, 2024 8:12 am

Re: [Solved] Support for xlsm? -> No

Post by David Van Camp »

Hmm, well, I waited for something like an hour and the progress bar was waaaay to the left before I cancled. Now, I guess this file actually HAS a macro (2 or 3, small), since it's a copy/modify of another file (but doesn't use them), but, is conditional formatting also considered 'macros'? Because that's really all it uses. A lot of them. Are those not supported also? And, would converting to XLS solve the issue?
OpenOffice 4.1.15 on Windows 11
User avatar
Hagar Delest
Moderator
Posts: 33630
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Support for xlsm? -> No

Post by Hagar Delest »

Conditional formatting is not considered as macro.
Some MS Office files are indeed very difficult to load in AOO (don't know if LO is better for that but it's worth a try, at least with a portable version, just to check without installing anything).

If you use AOO or LO, then stick to the ODF file format. If you need to work in MS Office file format, then stick to MS Office. The MS Office file formats were poorly documented for vendor lock-in policy. Thus, any import/export in AOO/LO may cause glitches.
.xls is deprecated now.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Locked