aspose.info
EN

What is Lotus 123 file format? Learn from File Format Experts!

Updated

What is a Lotus 123 file?

A file with .123 extension is a spreadsheet file created with Lotus 1-2-3, a spreadsheet software by IBM Lotus SmartSuite. It had been in use for quite good times before it was surpassed by Microsoft Excel application in early 1990s. Data in a Lotus spreadsheet file used to be organized in rows and columns, similar to current Excel files, and different computations functions could be applied to it. Several different versions of Lotus spreadsheet file formats kept evolving with different extensions such as .wks, .wk1, .wk2, .wk3, and .wk4, with each varying numerical increment in extension consisting of modifications. Lotus was officially discontinued in 2013.

Lotus 123 File Format - More Information

Lotus files are binary files and can not be read or interpreted if opened in raw form. Its file format specifications are available as archives for reference at following links:

Each file is organized as an unbroken sequence of variable length binary records.

Lotus 123 File Header

Each record in a Lotus 123 spreadsheet file consists of a 4-byte header followed by the record body. The header also defines the record’s type and length. Header composition is as shown below.

Byte NumberByte Description
0,1Record type code
2,3Record body length (bytes)

Record Types

A Lotus spreadsheet file can have may different record types. These can be of predetermined as well as variable length. The following table shows different record types arranged by Op Code.

TypeCode (hex)Length (bytes)Description
BOF02Beginning of file
EOF10End of file
CALCMODE21Calculation mode
CALCORDER31Calculation order
SPLIT41Split window type
SYNC51Split window sync
RANGE68Active worksheet range
WINDOW1731Window 1 record
COLW183Column width, window 1
WINTWO931Window 2 record
COLW2A3Column width, window 2
NAMEB24Named range
BLANKC5Blank cell
INTEGERD7Integer number cell
NUMBERE13Floating point number
LABELFvariableLabel cell
FORMULA10variableFormula cell
TABLE1825Data table range
ORANGE1925Query range
PRANGE1A8Print range
SRANGE1B8Sort range
FRANGE1C8Fill range
KRANGE11D9Primary sort key range
HRANGE2016Distribution range
KRANGE2239Secondary sort key range
PROTEC241Global protection
FOOTER25242Print footer
HEADER26242Print header
SETUP2740Print setup
MARGINS2810Print margins code

References

See also