vba - Why are EXCEL XLSM format no longer a valid ZIP format? -
files saved in excel xlsm files no longer valid zip files, preventing editing of ribbon.
xlsm files saved on or prior may 23, 2014, can renamed .zip , edited.
xlsm files saved after may 23, 2014, cannot renamed .zip , edited, rather generate error message file corrupted archive. both windows explorer , winzip generate same error condition, though error message varies slightly.
yes, there macros in files; opening old file macros (and vba) disabled , saving new name generates corrupted file.
i have tested on 2 other machines in our corporate group, same results, not corruption on workstation.
office diagnostics reports no problems excel.
any thoughts on causes or solutions?
update
let's clear on test process:
- i rename xlsm file saved on may 23 .zip; creates zipped archive both winzip , windows explorer can open successfully. undo rename make file xlsm again.
- i open file above in excel-2007 and not enable macros or vba. save new filename xlsm file.
- i rename file saved in step (2) .zip file. file no longer opens in either winzip or windows explorer, generates error message above.
- i repeat steps 1 through 3 above on workstations of 2 other colleagues - same result exactly.
update #2
problem seems file-related in way, saving empty workbook xlsm still works. investigate more.
the problem 1 or more of sheets password protected. unprotect sheets, save xlsm, rename .zip , voila, xml structure appears.
update: actually, inconsistent setting of password-protection workbook rather worksheet.
Comments
Post a Comment