When should the xlsm or xlsb formats be used?

后端 未结 5 1516
被撕碎了的回忆
被撕碎了的回忆 2020-12-07 13:48

Since Excel 2007, Microsoft has split the classical .xls format to several formats (in particular, .xlsx, .xlsm, .xlsb).

5条回答
  •  Happy的楠姐
    2020-12-07 14:02

    The XLSB format is also dedicated to the macros embeded in an hidden workbook file located in excel startup folder (XLSTART).

    A quick & dirty test with a xlsm or xlsb in XLSTART folder:

    Measure-Command { $x = New-Object -com Excel.Application ;$x.Visible = $True ; $x.Quit() }
    

    0,89s with a xlsb (binary) versus 1,3s with the same content in xlsm format (xml in a zip file) ... :)

提交回复
热议问题