Clear all worksheets' data.
BOOL ClearData( DWORD dwOptions = CWOD_SHRINK_COLS )
return TRUE on success and FALSE on failure.
EX1
void ClearData_Ex1() { WorksheetPage wkbk("Book1"); // assumes that there exists an Excel window with the name "Book1" if ( !wkbk ) return; if(wkbk.ClearData()) out_str("data all clear"); else out_str("data clear fail"); }
origin.h