locked
Excel Automation in MFC and Opening Workbooks and Worksheets RRS feed

  • Question

  • Hello everyone...

    I am including CWorkbooks.h and CWorksheets.h
    but it prompted these several errors....


    Error 13 error C2146: syntax error : missing ';' before identifier 'get_Application' d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 22 
    Error 14 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 22 
    Error 15 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 23 
    Error 17 error C2146: syntax error : missing ';' before identifier 'get_Creator' d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 28 
    Error 18 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 28 
    Error 19 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 29 
    Error 21 error C2259: 'Font' : cannot instantiate abstract class d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 92 
    Error 22 error C2065: 'Application' : undeclared identifier d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 24 
    Error 23 error C2146: syntax error : missing ';' before identifier 'result' d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 24 
    Error 24 error C2065: 'result' : undeclared identifier d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 24 
    Error 25 error C2065: 'XlCreator' : undeclared identifier d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 30 
    Error 26 error C2146: syntax error : missing ';' before identifier 'result' d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 30 
    Error 27 error C2259: 'Font' : cannot instantiate abstract class d:\cabarrubias_j\sample_project\excel_automation\excel_automation\cworksheets.h 93 


    Some help with problem...pls..

    • Moved by Yan-Fei Wei Wednesday, June 25, 2008 10:13 AM Off-topic of C++, please ask in office automation newsgroup
    Friday, June 20, 2008 7:34 AM

Answers

All replies