Clear a binary name from a worksheet
static BOOL ClearBinaryNameA( const char* pszName ); static BOOL ClearBinaryNameA( const char* pszWorkbook, const char* pszWorksheet, const char* pszName );
The name of the invisible range to add to the worksheet. The name must conform to Excel range name rules.
Name of target workbook.
Name of target sheet.
The function returns TRUE if the name is deleted (or if it does not exist), or FALSE if the operation fails.
Binary names are invisible Excel named ranges, accessible only to the add-in programmer, not to the user. They differ from visible ranges in that you cannot us them for Excel data types, only for buffers of binary data.
Binary names are held in worksheets, and are unique at worksheet level. However, there may be multiple instances of a binary name in a workbook (as many as there are worksheets in the book).
The first form of the function acts on the active sheet of the active workbook.
The second form acts on the requested sheet. In order to do so, the active workbook and sheet are changed if required, and then changed back again after the action is complete.