07.05.2014 Views

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

The Microsoft Excel File Format - OpenOffice.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5 Worksheet/Workbook Records<br />

5.40 EXTERNCOUNT<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

0016 H 0016 H 0016 H 0016 H —<br />

This record contains the number of following EXTERNSHEET records. In BIFF8 this record is omitted because there<br />

occurs only one EXTERNSHEET record. See ➜4.10.1 for details about external references in BIFF2-BIFF4 and<br />

➜4.10.2 for BIFF5.<br />

Record EXTERNCOUNT, BIFF2-BIFF5:<br />

Offset Size Contents<br />

0 2 Number of following EXTERNSHEET records (➜5.41)<br />

5.41 EXTERNSHEET<br />

BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />

0017 H 0017 H 0017 H 0017 H 0017 H<br />

5.41.1 Record Contents (BIFF2-BIFF5)<br />

In the file format versions up to BIFF5 this record stores the name of an external document and a sheet name inside of<br />

this document. See ➜4.10.1 for details about external references in BIFF2-BIFF4 and ➜4.10.2 for BIFF5.<br />

Record EXTERNSHEET, BIFF2-BIFF5:<br />

Offset Size Contents<br />

0 var. Encoded document and sheet name (➜2.5.9). Byte string, 8-bit string length (➜2.5.2).<br />

<strong>The</strong> string length field is decreased by 1, if the EXTERNSHEET stores a reference to one of the own sheets (first<br />

! character is 03 H ). Example: <strong>The</strong> formula =Sheet2!A1 contains a reference to an EXTERNSHEET record with the<br />

string “Sheet2”. <strong>The</strong> string consists of 7 characters but the string length field contains the value 6.<br />

If a formula uses an add-in function, a special EXTERNSHEET record will occur, followed by an EXTERNNAME<br />

record with the name of the function.<br />

Record EXTERNSHEET for add-in functions, BIFF2-BIFF5:<br />

Offset Size Contents<br />

0 2 01 H 3A H (byte string, 8-bit string length, containing the colon “:”)<br />

166

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!