Author Topic: Excel .Net Options for AutoCAD  (Read 2683 times)

0 Members and 1 Guest are viewing this topic.

Keith Brown

  • Swamp Rat
  • Posts: 601
Excel .Net Options for AutoCAD
« on: June 17, 2014, 09:33:10 AM »
Instead of posting in an old thread I thought I would start a new one.


Reading the thread located at http://www.theswamp.org/index.php?topic=39543.msg469273#msg469273 I saw the suggestion to use ClosedXML for integration with AutoCAD instead of com at the very bottom of the post.  One of the advantages to using it is that it does not require that Excel be located on the machine. (not everyone has excel)  Another free alternative that is very similar but works with Excel 2013 (ClosedXML doesnt support 2013 according to the website) is SpreadSheetLite. http://www.spreadsheetlite.com.  I have used this in the past and it works great.


There are alot of paid options out there (SpreadSheetGear comes to mind) but these solutions are free and will probably do 99 percent of what people need coming out of AutoCAD.
Keith Brown | AutoCAD MEP Blog | RSS Feed
AutoCAD MEP 2014 / Revit MEP 2014 / EastCoast CAD/CAM addon / Visual Studio 2013

MexicanCustard

  • Swamp Rat
  • Posts: 705
Re: Excel .Net Options for AutoCAD
« Reply #1 on: June 18, 2014, 07:31:26 AM »
I'm using ClosedXml with Excel 2013 and it seems to be working just fine.  I've been using ClosedXml to create and read excel sheets for a couple of years now and it's never let me down.
Revit 2019, AMEP 2019 64bit Win 10

exmachina

  • Guest
Re: Excel .Net Options for AutoCAD
« Reply #2 on: June 21, 2014, 04:26:24 AM »
Another library. Supports .xls, .xlsx, .docx :
https://npoi.codeplex.com/

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Excel .Net Options for AutoCAD
« Reply #3 on: June 25, 2014, 06:50:58 AM »
I create a Table XML 2003 usualy. If I need to add the OLE objects into the document, I use the late binding: I open my Table XML document as Workbook and add the necessary OLE objects. Then I do "Save as" XLS (because Table XML can't to contain the OLE objects). Thank you for the links, I will read their.

P.S. When I need to create a report, I use Stimulsoft. It can to export result into XLS and XLSX too.
« Last Edit: June 25, 2014, 06:58:49 AM by Andrey Bushman »

exmachina

  • Guest
Re: Excel .Net Options for AutoCAD
« Reply #4 on: June 25, 2014, 12:05:12 PM »
P.S. When I need to create a report, I use Stimulsoft. It can to export result into XLS and XLSX too.

Unless you need some special function, for win forms, I recommend you this:
http://www.fast-report.com/es/

It is much cheaper, even if you buy the source code.

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Excel .Net Options for AutoCAD
« Reply #5 on: June 25, 2014, 01:17:42 PM »
I remember Fast Reports .NET. I used Stimulsoft when .NET version of Fast Reports wasn't born still. Fast Reports .NET was very weak. Stimulsoft is more powerful. I have a license for Stimulsoft.

CADbloke

  • Bull Frog
  • Posts: 342
  • Crash Test Dummy
Re: Excel .Net Options for AutoCAD
« Reply #6 on: June 26, 2014, 07:53:58 AM »