Page 1 of 1

XLSM support

Posted: Tue Aug 20, 2013 9:02 am
by d3nton
Hi.

Does XLSReadWrite support .xlsm files?

Best regards
d3nton

Re: XLSM support

Posted: Tue Aug 20, 2013 1:35 pm
by larsa
Hello

Yes, XLSM is the same as XLSX but XLSM files are macro enabled.

Re: XLSM support

Posted: Tue Aug 27, 2013 7:04 am
by d3nton
Thank you.

How do I create a xlsm file?
The following example results in an invalid xlsm file.

var
ExcelFile5 : TXLSReadWriteII5;
begin
ExcelFile5 := TXLSReadWriteII5.Create(nil);
ExcelFile5.Filename := 'C:\output.xlsm';
ExcelFile5[0].AsString[0,0] := 'test';
ExcelFile5.Write;

best regards.

Re: XLSM support

Posted: Tue Aug 27, 2013 1:33 pm
by larsa
Hello

You can't create XLSM files but you can read them.

Re: XLSM support

Posted: Wed Aug 28, 2013 6:47 am
by d3nton
Okay. Thanks for the prompt reply.

Are there any plans to integrate xlsm-write support?
Or maybe at least writing 'normal' data (e.g. without any new makros) into existing xlsm files?

best regards.

Re: XLSM support

Posted: Tue Oct 08, 2013 11:34 am
by d3nton
Hi!
Any news on this?
Basic xlsm support as mentioned above would be nice.

Re: XLSM support

Posted: Wed Oct 09, 2013 6:15 am
by larsa
Hello

An XLSM files contains macros and tehre are no plans for supporting macros right now.