I am a novice at LISP and am writing a routine to extract information from
AutoCAD to Excel. I am running AutoCAD 2000i and Excel 2002.
Thanks to the discussion groups I have been able to write the attached
routine, but I cannot get it to run with Excel 2002. I have modified the
routine to run on another workstation which still has Excel 2000 by changing
the Excel.exe extension to Excel9.olb extension, and it runs fine. When I
run it in Excel 2002 I get automation errors.
Is there a special olb file for Excel 2002?
(vl-load-com)
(if
(not excm-open)
(vlax-import-type-library
:tlb-filename "C:/Program Files/Microsoft Office/Office10/Excel.exe"
:methods-prefix "msxl-"
roperties-prefix "msxl-"
:constants-prefix "msxl-"
)
)
AutoCAD to Excel. I am running AutoCAD 2000i and Excel 2002.
Thanks to the discussion groups I have been able to write the attached
routine, but I cannot get it to run with Excel 2002. I have modified the
routine to run on another workstation which still has Excel 2000 by changing
the Excel.exe extension to Excel9.olb extension, and it runs fine. When I
run it in Excel 2002 I get automation errors.
Is there a special olb file for Excel 2002?
(vl-load-com)
(if
(not excm-open)
(vlax-import-type-library
:tlb-filename "C:/Program Files/Microsoft Office/Office10/Excel.exe"
:methods-prefix "msxl-"
roperties-prefix "msxl-"
:constants-prefix "msxl-"
)
)