<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Excel to AutoCAD Data Links in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593809#M73147</link>
    <description>&lt;P&gt;The problem here is that you can't read (or write) to an excel file (even if bound) using lisp (auto- or visual-)&lt;/P&gt;&lt;P&gt;It is possible Using a ODBC link though... there is a function written by Jeffery P. Sanders using VBA (vla- &amp;amp; vlax- ) just for that: Getcells&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used it a few times, when no other options are available. (I prefer to use .csv files when ever possible)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can retrieve the collumn containing the adresses, as a list.&lt;/P&gt;&lt;P&gt;You can then use that list for matching with the drawn map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...but his website is currently down I just now noticed, so I can't link you to it.&lt;/P&gt;&lt;P&gt;(should still have a copy around somewhere)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2020 16:12:25 GMT</pubDate>
    <dc:creator>roland.r71</dc:creator>
    <dc:date>2020-06-22T16:12:25Z</dc:date>
    <item>
      <title>Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9590004#M73141</link>
      <description>&lt;P&gt;I have a Village Map with residents addresses on it in AutoCAD. I have an excel spreadsheet with the addresses and weather there services lines are lead or cooper. I have linked the excel table into the AutoCAD document, but can I somehow tell AutoCAD based on the residents addresses, weather to hatch there yard a certain color if there service is lead and another color if there service is cooper?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 17:09:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9590004#M73141</guid>
      <dc:creator>bhankeyDNXY7</dc:creator>
      <dc:date>2020-06-19T17:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9590289#M73142</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8886050"&gt;@bhankeyDNXY7&lt;/a&gt;&amp;nbsp;Please, if possible, upload both dwg and&amp;nbsp; xls files&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jun 2020 19:36:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9590289#M73142</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-06-19T19:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9590594#M73143</link>
      <description>&lt;P&gt;Like Devitg need a sample but you have not explained how the address lives in the Autocad is it text a block a x,y. If you have any of those then you have a match and hatch the lot.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;code

ssget ( layer &amp;amp; text)

repeat ss and match text in master list

look at insertion point do hatch&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 22 Jun 2020 12:20:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9590594#M73143</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-06-22T12:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593204#M73144</link>
      <description>&lt;P&gt;The text is a block.&lt;/P&gt;&lt;P&gt;How do I upload the files onto this platform? This is the first time I am using this chat.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 12:29:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593204#M73144</guid>
      <dc:creator>bhankeyDNXY7</dc:creator>
      <dc:date>2020-06-22T12:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593211#M73145</link>
      <description>&lt;P&gt;Attached is the dwg with the excel table linked. Please let me know if this helps with finding a solution&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 12:31:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593211#M73145</guid>
      <dc:creator>bhankeyDNXY7</dc:creator>
      <dc:date>2020-06-22T12:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593217#M73146</link>
      <description>&lt;P&gt;Please see the attached dwg with the excel table linked. Please let me know if this helps with finding a solution.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 12:32:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593217#M73146</guid>
      <dc:creator>bhankeyDNXY7</dc:creator>
      <dc:date>2020-06-22T12:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593809#M73147</link>
      <description>&lt;P&gt;The problem here is that you can't read (or write) to an excel file (even if bound) using lisp (auto- or visual-)&lt;/P&gt;&lt;P&gt;It is possible Using a ODBC link though... there is a function written by Jeffery P. Sanders using VBA (vla- &amp;amp; vlax- ) just for that: Getcells&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've used it a few times, when no other options are available. (I prefer to use .csv files when ever possible)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can retrieve the collumn containing the adresses, as a list.&lt;/P&gt;&lt;P&gt;You can then use that list for matching with the drawn map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...but his website is currently down I just now noticed, so I can't link you to it.&lt;/P&gt;&lt;P&gt;(should still have a copy around somewhere)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 16:12:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593809#M73147</guid>
      <dc:creator>roland.r71</dc:creator>
      <dc:date>2020-06-22T16:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593885#M73148</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8886050"&gt;@bhankeyDNXY7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read the information directly from the table or from the excel file, both are possible,&lt;/P&gt;
&lt;P&gt;but are you able to do the rest of the Job?&lt;/P&gt;
&lt;P&gt;- Find the Adress / Blockreference in the drawing&lt;/P&gt;
&lt;P&gt;- find the Polyline&lt;/P&gt;
&lt;P&gt;- Hatch the objects&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If not, you are searching for a programmer or a ready program, not for help to develop your own program by yourself!?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 16:48:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593885#M73148</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2020-06-22T16:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593943#M73149</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/71745"&gt;@cadffm&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;but are you able to do the rest of the Job?&lt;/P&gt;&lt;P&gt;&amp;lt;snip&amp;gt;&lt;/P&gt;&lt;P&gt;If not, you are searching for a programmer or a ready program, not for help to develop your own program by yourself!?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hmmm, I think&amp;nbsp; the question&lt;EM&gt;"can I somehow tell AutoCAD" &lt;/EM&gt;somewhat gives the answer to that...&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 17:11:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9593943#M73149</guid>
      <dc:creator>roland.r71</dc:creator>
      <dc:date>2020-06-22T17:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9594004#M73150</link>
      <description>&lt;P&gt;I am unclear on what you mean by&lt;SPAN&gt;&amp;nbsp;searching for a programmer or a ready program.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 17:36:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9594004#M73150</guid>
      <dc:creator>bhankeyDNXY7</dc:creator>
      <dc:date>2020-06-22T17:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9594016#M73151</link>
      <description>&lt;P&gt;Considering your post carefully and thoroughly the short answer is: No there's no way to tell AutoCAD to do that, as it has no build in function(s) to do all you request. but it's not impossible. So...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The long answer is: Yes, you can. By writing a program which will interact with AutoCAD and Excel, to do it.&lt;/P&gt;&lt;P&gt;There are a few ways &amp;amp; languages to do so, most common around this part of the forum would be LISP, which runs inside autocad itself, but it might as well be an Autocad Runtime eXtention, or something else completely.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It all depends on what you want, can do yourself, or can pay. As this is a job for someone for some time to accomplish.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 17:41:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9594016#M73151</guid>
      <dc:creator>roland.r71</dc:creator>
      <dc:date>2020-06-22T17:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9594035#M73152</link>
      <description>&lt;P&gt;Ok, thank you for all the responses.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 17:50:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9594035#M73152</guid>
      <dc:creator>bhankeyDNXY7</dc:creator>
      <dc:date>2020-06-22T17:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excel to AutoCAD Data Links</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9597402#M73153</link>
      <description>&lt;P&gt;Just to confuse you, its possible to go the other way and drive it from Excel using a macro. As excel has VBA and again like Autocad you can open communication with Autocad. You want to be proficient in VBA to go this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub Opendwg()
 
    Dim acadApp As Object
    Dim acadDoc As Object

 'Check if AutoCAD application is open. If is not opened create a new instance and make it visible.
    On Error Resume Next
    Set acadApp = GetObject(, "AutoCAD.Application")
    If acadApp Is Nothing Then
        Set acadApp = CreateObject("AutoCAD.Application")
        acadApp.Visible = True
    End If&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2020 02:03:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/excel-to-autocad-data-links/m-p/9597402#M73153</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2020-06-24T02:03:02Z</dc:date>
    </item>
  </channel>
</rss>

