Persistent Storage

The xlDefineBinaryName and xlGetBinaryName functions provide a mechanism for storing data and referencing it by name. Data with a defined binary name is stored with the workbook when you save the workbook. When the workbook is reloaded, the data is again available to any application that knows the data name.

Your application defines a name by passing the name (a string XLOPER) and a pointer to the data (in a bigdata XLOPER) to the xlDefineBinaryName function. Once the name is defined, you can use the xlGetBinaryName function to return a handle for the data whenever you need it.