2010-06-23 4 views
1

OLE 및 C++ Builder를 사용하여 프로그래밍 방식으로 Excel 통합 문서를 어떻게 저장합니까? 당신이 통합 문서 통합 문서 다음 객체 얻을OLE를 사용하여 프로그래밍 방식으로 Excel 파일 저장

excel.OlePropertyGet(”Workbooks”).OlePropertyGet(”Item”,1).OleProcedure(”SaveAs”,”d:\\case1.xls”); 

첫째 :

Variant excel = Variant::CreateObject("Excel.Application"); 
excel.OleProcedure("Save"); // but how might you specify the file name 

답변

2

아 그냥 here에서 답을 찾을 :

나는 같은 것을 수 있습니다 같은데요. 그런 다음 SaveAs를 할 수 있습니다.

관련 문제