Ahankhah Posted August 13, 2010 Share Posted August 13, 2010 Hi, I know how to open and edit an existing excel file from inside viaual lisp code, but am not able to create a new one:?. Has anybody any idea? Mehrdad Ahankhah Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted August 13, 2010 Share Posted August 13, 2010 Check out the code in this tip, specifically the "(init-excel)" function http://cadtips.cadalyst.com/export/export-text-a-drawing-excel-spreadsheet Quote Link to comment Share on other sites More sharing options...
stevesfr Posted August 13, 2010 Share Posted August 13, 2010 RK, When I try and run Txt2xls program, I get the following... Command: TXTEXC Connexion avec Excel 2000 Erreur : bad argument type: VLA-OBJECT nil I guess program is not friends with my Excel 2000. What needs to be modified? Thanks.. S Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 14, 2010 Share Posted August 14, 2010 This should point you in the right direction: http://web2.airmail.net/terrycad/LISP/GetExcel.lsp Quote Link to comment Share on other sites More sharing options...
stevesfr Posted August 14, 2010 Share Posted August 14, 2010 thanks Lee, I forgot about GetExcel and to load it ..... Steve Quote Link to comment Share on other sites More sharing options...
Ahankhah Posted August 16, 2010 Author Share Posted August 16, 2010 rkmcswain, Lee Mac, thank you very much. Mehrdad Ahankhah Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.