Share

Binary(doc,xls,ppt) to OpenXMLTranslator

Tracker: Tracker xls2x Bugs

7 xls2x forces .xlsm extension even if another one provided - ID: 2814646
Last Update: Comment added ( diamakz )

If xls file has macros then xls2x always set file extension to .xlsm even
if it should use other one like .xlsx

For example, running "xls2x.exe 109591_cached.xls -o 109591_cached.xlsx"
generates 109591_cached.xlsm insted of 109591_cached.xlsx

Example file attached.


Ivan Begtin ( ivbeg ) - 2009-06-30 14:47

7

Open

None

Nobody/Anonymous

None

Phase4

Public


Comment ( 1 )

Date: 2009-07-01 07:44
Sender: diamakzProject Admin

Hello Mr. Begtin,

all the converts have this behavior because the Microsoft Office
Applications will not open macro files that are named .xlsx or docx instead
of .xlsm and .docm!

I agree that this behavior is not very good if you want to use the tool in
batch scenarios. We will rethink this behavior.

One idea is to introduce a command line option that forces the given
output name. Another idea would be a different return value of the process
if the file was renamed.


Attached File ( 1 )

Filename Description Download
xls2x_broken_right.zip Right file with example attached Download

Changes ( 6 )

Field Old Value Date By
data_type 1038368 2009-07-01 07:44 diamakz
artifact_group_id None 2009-07-01 07:44 diamakz
priority 5 2009-07-01 07:44 diamakz
File Deleted 332941: 2009-06-30 14:53 ivbeg
File Added 332943: xls2x_broken_right.zip 2009-06-30 14:53 ivbeg
File Added 332941: xls2x_broken.zip 2009-06-30 14:47 ivbeg