excel saveas

Auto CAD/lisp|2023. 9. 6. 15:49

https://learn.microsoft.com/en-us/office/vba/api/excel.workbook.saveas

 

Workbook.SaveAs method (Excel)

Office VBA reference topic

learn.microsoft.com

        (vlax-invoke-method (vlax-get-property xlapp "ActiveWorkbook") 'Close :vlax-False) ;창닫기
        (if (= nnn 1)(vlax-invoke-method xlapp 'Quit)) ;;엑셀종료
 
(vlax-invoke-method xlapp 'save
(vlax-invoke-method xlapp 'close   
 

 

https://www.cadtutor.net/forum/topic/71476-save-as-xlsx-instead-of-xls/
https://www.cadtutor.net/forum/topic/71933-how-to-release-excel-application-from-background-running/

'Auto CAD > lisp' 카테고리의 다른 글

AutoCAD 2012의 새로운 AutoLISP 기능 (Mac용)  (0) 2023.07.06
ssget  (0) 2021.03.20
Error Message Troubleshooter  (0) 2021.02.20
Building Association Lists: A Simple Block Counter  (0) 2021.02.20
The Apostrophe and the Quote Function  (0) 2021.02.20

댓글()