Offset | Name | Size | Contents |
4 | Ctab | 2 | Number of tabs in the workbook |
6 | StVirtPath | var | Encoded file name of the workbook, as a unicode string (see text) |
var | Rgst | var | An array of strings, the sheet tab names, as unicode strings |
Name | Value | Meaning |
chEmpty | 00 | Reference to an empty workbook name (see text) |
chEncode | 01 | File name has been encoded (see the following table) |
chSelf | 02 | Self-referential external reference (see text) |
Name | Value | PC file systems | Macintosh file system |
chVolume | 01 | Represents an MS-DOS drive letter. It is followed by the drive letter. For example, the formula ='D:\SALES.XLS'!A1 generates the chVolume key when the dependent workbook is not on the D drive. UNC file names, such as \\server\share\myfile.xls, generate an @ character after the chVolume key; this replaces the initial double backslash (\\). | Represents a single-character volume name. Because single-character volume names are uncommon on the Macintosh, the chLongVolume key is used to represent volume names that are longer than a single character. |
chSameVolume | 02 | Indicates that the source workbook is on the same drive as the dependent workbook (the drive letter is omitted). For example, the formula ='\SALES.XLS'!A1 generates the chSameVolume key when the dependent workbook is not in the root directory. | Indicates that the source workbook is in the same volume as the dependent workbook (the volume name is omitted). |
ChDownDir | 03 | Indicates that the source workbook is in a subdirectory of the current directory. For example, the formula ='XL\SALES.XLS'!A1 generates the chDownDir key. The subdirectory name precedes the chDownDir key, and the file name follows it. | Indicates that the source workbook is in a folder in the current folder. For example, the formula =':XL:Sales1992'!A1 generates the chDownDir key. The folder name precedes the chDownDir key, and the file name follows it. |
chUpDir | 04 | Indicates that the source workbook is in the parent directory of the current directory. For example, the formula ='..\SALES.XLS'!A1 generates the chUpDir key. | Indicates that the source workbook is in the parent folder of the current folder. For example, the formula ='::Sales1992'!A1 generates the chUpDir key. |
chLongVolume | 05 | (Not used) | The chLongVolume key is followed by the length of the name (1 byte) and then by the volume name string. |
chStartupDir | 06 | Indicates that the source workbook is in the startup directory (the Xlstart subdirectory of the directory that contains Excel.exe). | Indicates that the source workbook is in the Excel Startup Folder (5), which is in the System Folder. |
chAltStartupDir | 07 | Indicates that the source workbook is in the alternate startup directory. | Indicates that the source workbook is in the alternate startup folder. |
chLibDir | 08 | Indicates that the source workbook is in the Library directory. | Indicates that the source workbook is in the Macro Library folder. |