<?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: VBA - Undefined user defined type - type defini par l'utilisateur non défini in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/vba-undefined-user-defined-type-type-defini-par-l-utilisateur/m-p/10092566#M3661</link>
    <description>&lt;P&gt;Thanks Norman!&lt;/P&gt;&lt;P&gt;It was already selected ... but did not work.&lt;/P&gt;&lt;P&gt;So I unselect all and reselect ... and it works !!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 09:38:35 GMT</pubDate>
    <dc:creator>emile.bergin3WG83</dc:creator>
    <dc:date>2021-02-18T09:38:35Z</dc:date>
    <item>
      <title>VBA - Undefined user defined type - type defini par l'utilisateur non défini</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-undefined-user-defined-type-type-defini-par-l-utilisateur/m-p/10087048#M3659</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;with VBA in autocad 2021,&amp;nbsp; I want to read inside an excel file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is pretty simple :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Private Sub CommandButton2_Click()&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Dim ExcelAppObj As Excel.Application&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Set ExcelAppObj = New Excel.Application ' Lance Excel&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ExcelAppObj.Visible = True ' Affiche Excel&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ExcelAppObj.InputBox ("Coucou de la part d'AutoCAD !") ' Affiche un message depuis Excel&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ExcelAppObj.Application.Quit ' Quitte Excel&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First line "Dim ExcelAppObj As Excel.Application" creates an "Undefined user defined type"&amp;nbsp;error and I cannot understand why.&amp;nbsp;Can someone help ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Autocad is installed in C:/program files/, so should be 64bits&lt;/P&gt;&lt;P&gt;I use Excel from Office 365&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:22:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-undefined-user-defined-type-type-defini-par-l-utilisateur/m-p/10087048#M3659</guid>
      <dc:creator>emile.bergin3WG83</dc:creator>
      <dc:date>2021-02-16T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Undefined user defined type - type defini par l'utilisateur non défini</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-undefined-user-defined-type-type-defini-par-l-utilisateur/m-p/10087295#M3660</link>
      <description>&lt;P&gt;Assume you have Excel installed in the computer (any computer where your AutoCAD VBA code is to run).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to add reference to MS Excel object library (VBA editor-&amp;gt;menu "Tools..."-&amp;gt;References...-&amp;gt; select/check the item "Microsoft Excel 16.x Object Library").&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 16:48:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-undefined-user-defined-type-type-defini-par-l-utilisateur/m-p/10087295#M3660</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2021-02-16T16:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: VBA - Undefined user defined type - type defini par l'utilisateur non défini</title>
      <link>https://forums.autodesk.com/t5/vba-forum/vba-undefined-user-defined-type-type-defini-par-l-utilisateur/m-p/10092566#M3661</link>
      <description>&lt;P&gt;Thanks Norman!&lt;/P&gt;&lt;P&gt;It was already selected ... but did not work.&lt;/P&gt;&lt;P&gt;So I unselect all and reselect ... and it works !!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 09:38:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/vba-undefined-user-defined-type-type-defini-par-l-utilisateur/m-p/10092566#M3661</guid>
      <dc:creator>emile.bergin3WG83</dc:creator>
      <dc:date>2021-02-18T09:38:35Z</dc:date>
    </item>
  </channel>
</rss>

