Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 12:37:31 +0000



Post From: validity of GetSpreadsheetSheetHandleByName() result?

[2021-01-10 15:23:15]
User907968 - Posts: 840
If there is no match, does the function not simply return null pointer?


void* SheetHandle = sc.GetSpreadsheetSheetHandleByName(SheetCollectionName, SheetName, false);

if (SheetHandle == nullptr)
{
// some code for no spreadsheet
}
else
{
// some different code for spreadsheet found
}