LISP写的Excel导入ArcGIS的程序
LISP程序 excel里的数据导入arcgis里面有很好的大量的LISP操作EXCEL的代码,贴几个:
;|
Examples:
(vlxls-app-kill T) è nil
Excel Application Session Progress Function
Name
(vlxls-app-autofit ExcelSessionVLA-OBJECT)
Usage
Autofit the column width of all Excel session used ranges.
Input
VLOBJ
Excel session vla-object
RetVal
True
Variant
T
Fail
BOOLEAN
NIL
|;
(Defun vlxls-app-autofit (xlapp / sh act Rtn)
(setq act (vlxls-Sheet-Get-Active xlapp))
(foreach sh (append (vl-remove act (vlxls-sheet-get-all Xlapp))
(list act)
)
(setq Rtn (variant-value
(msxl-autofit
(msxl-get-columns
(msxl-get-Cells
(vlxls-sheet-get-usedrange xlapp sh)
)
)
)
)
)
)
(equal Rtn :vlax-true)
)
看看,excel相互操作。。。 LISP操作EXCEL的代码值得学习 学习》》》》》》》》》》》》 这都可以,感谢分享! 好好好,十分值得学习 学习,excel相互操作!!!! 看看,谢谢楼主分享
arcgis不知道是啊,看看如何操控excel 学习一下 这个叼
支持~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
好好学习下。。顶
多好的东西啊 感谢分享。。。。。。。
好东西,谢谢。