1571| 2
|
cad里的变量x的值导入到excel |
6明经币
最佳答案(defun c:tt()
(vl-load-com)
(setq n (getint "请输入一个数"))
(setq x 62);楼主需要传递的值
(setq excelapp (vlax-get-or-create-object "excel.application"))
(setq acsheet (vlax-get-property excelapp 'activesheet))
(setq m 65);列A
(setq crange (strcat (chr m) (itoa n)))
(setq range_obj (vlax-get-property acsheet 'range crange))
(vlax-put-property range_obj 'value2 x)
);e ...
| ||
发表于 2018-4-19 13:50:15
|
显示全部楼层
| ||
| ||