GetCommonColumns
It provides all the columns (by names or prefixes) that are common between the worksheets whose names are supplied. If only one worksheet is supplied, all its columns are returned.
BOOL GetCommonColumns( const vector<string> & worksheets, vector<string> & columnNames, vector<string> & columnLabels, DWORD dwMode, vector<string> & columnheadings = NULL )
TRUE if successful, FALSE otherwise
EX1
void Project_GetCommonColumns_ex1() { vector<string> wksNames = {"Book1","Book2"}; vector<string> colNames; vector<string> colLabels; BOOL bRet = Project.GetCommonColumns(wksNames, colNames, colLabels, FALSE); }
origin.h