<?xml version="1.0" encoding="utf-8"?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
  <report_format_detail>
    <FileFormat>
      <FormatID>178</FormatID>
      <FormatName>Microsoft Excel Macro</FormatName>
      <FormatVersion>4.0</FormatVersion>
      <FormatAliases>
      </FormatAliases>
      <FormatFamilies>
      </FormatFamilies>
      <FormatTypes>Spreadsheet</FormatTypes>
      <FormatDisclosure>
      </FormatDisclosure>
      <FormatDescription>XLM is an old format for Microsoft Excel spreadsheets with macros. It has been superseded by XLSM, a new XML-based format. The new macro format is based on Visual Basic for Applications (VBA), but the old format was different. The old format was used through Excel 4.0, but discontinued in 5.0, and is not supported in later versions.</FormatDescription>
      <BinaryFileFormat>Text</BinaryFileFormat>
      <ByteOrders>
      </ByteOrders>
      <ReleaseDate>
      </ReleaseDate>
      <WithdrawnDate>
      </WithdrawnDate>
      <ProvenanceSourceID>1</ProvenanceSourceID>
      <ProvenanceName>Digital Preservation Department / The National Archives</ProvenanceName>
      <ProvenanceSourceDate>02 Aug 2005</ProvenanceSourceDate>
      <ProvenanceDescription>04/2024 (v.117)- Signature added, internally researched.</ProvenanceDescription>
      <LastUpdatedDate>23 Apr 2024</LastUpdatedDate>
      <FormatNote>
      </FormatNote>
      <FormatRisk>
      </FormatRisk>
      <TechnicalEnvironment>
      </TechnicalEnvironment>
      <FileFormatIdentifier>
        <Identifier>application/vnd.ms-excel</Identifier>
        <IdentifierType>MIME</IdentifierType>
      </FileFormatIdentifier>
      <FileFormatIdentifier>
        <Identifier>x-fmt/123</Identifier>
        <IdentifierType>PUID</IdentifierType>
      </FileFormatIdentifier>
      <ExternalSignature>
        <ExternalSignatureID>172</ExternalSignatureID>
        <Signature>xla</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID>179</ExternalSignatureID>
        <Signature>xlm</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <InternalSignature>
        <SignatureID>879</SignatureID>
        <SignatureName>BIFF 4 Macro</SignatureName>
        <SignatureNote>BIFF4: BOF hex 0904. record length hex 0600, BIFF version=(not used), filetype=macro=4000</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>1103</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>0</Offset>
          <MaxOffset>0</MaxOffset>
          <IndirectOffsetLocation>
          </IndirectOffsetLocation>
          <IndirectOffsetLength>
          </IndirectOffsetLength>
          <Endianness>
          </Endianness>
          <ByteSequenceValue>09040600{2}4000</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
    </FileFormat>
    <SearchCriteria>Criteria</SearchCriteria>
  </report_format_detail>
</PRONOM-Report>
