void Report_SetCellText(BSTR strObjName,int nRow, int nCol, BSTR str);
void Report_SetCellTextColor(BSTR strObjName,int nRow, int nCol, OLE_COLOR color);
void Report_SetCellFillColor(BSTR strObjName,int nRow, int nCol, OLE_COLOR color);
VARIANT Report_GetCellText(BSTR strObjName,int nRow, int nCol);
迈思德迈驰组态软件通过脚本函数可以方便的对表格里面的文本进行读写,颜色设置
BOOL WriteString(BSTR FileName, BSTR strObjName,int LineNo);
VARIANT ReadString(BSTR FileName,int LineNo);
BOOL CreateHmiFile(BSTR FileName);
BOOL DeleteHmiFile(BSTR FileName);
BOOL CopyHmiFile(BSTR lpExistingFileName, BSTR lpNewFileName)
与读写保存结合,很容易生成自定义历史报表