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