Excel Automation ( 4. Save As )


 COleVariant VOptional((long)DISP_E_PARAMNOTFOUND, VT_ERROR);
 COleVariant VTrue((short)TRUE);
 COleVariant VFalse((short)FALSE);

 // TODO: Add your control notification handler code here
 book.SaveAs(COleVariant("C:Master_.xls"), VOptional, VOptional, VOptional, VOptional, VOptional,
      0, VOptional, VOptional, VOptional, VOptional, VOptional);

 

Posted by 모과이IT
,