<?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: Select Data Fiile in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9304223#M4912</link>
    <description>&lt;P&gt;Thanks, but it's still proving to be a struggle. I'm attempting to update code that I wrote ten years ago, and I'm out of date. Found your 2015 update in that thread in Message #44. Within the ShowOpen function, the last If-Else-Then branches into the Else part so no file selection dialog opens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried your update in the final 2016 message #49. On the FileDials line I get the error "Compile error" User-defined type not defined".&lt;/P&gt;&lt;P&gt;Is there a Tools -&amp;gt; References that I need to include?&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2020 20:56:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-02-07T20:56:04Z</dc:date>
    <item>
      <title>Select Data Fiile</title>
      <link>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9302207#M4910</link>
      <description>&lt;P&gt;Having trouble selecting a data file from a command button on a form in Acad 2020.&lt;/P&gt;&lt;P&gt;The following code gives error message on theFileDiagog(msoFileDialogOpen) line&lt;/P&gt;&lt;P&gt;"Run-time error 438: Object doesn't support this property of method"&lt;/P&gt;&lt;P&gt;Tools -&amp;gt; References include -&lt;/P&gt;&lt;P&gt;Microsoft Office 16.0 Object Library&lt;/P&gt;&lt;P&gt;Microsoft Scripting Runtime&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;Sub UseFileDialogOpen()&lt;/P&gt;&lt;P&gt;Dim lngCount As Long&lt;BR /&gt;&lt;BR /&gt;' Open the file dialog&lt;BR /&gt;With Application.FileDialog(msoFileDialogOpen)&lt;BR /&gt;.AllowMultiSelect = True&lt;BR /&gt;.Show&lt;BR /&gt;&lt;BR /&gt;' Display paths of each file selected&lt;BR /&gt;For lngCount = 1 To .SelectedItems.Count&lt;BR /&gt;MsgBox .SelectedItems(lngCount)&lt;BR /&gt;Next lngCount&lt;BR /&gt;End With&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 00:19:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9302207#M4910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-07T00:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Select Data Fiile</title>
      <link>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9303614#M4911</link>
      <description>&lt;P&gt;I wouldn't use the Office dialog, it requires you to load another app into memory. Just use the Windows api. See my replies in &lt;A href="https://forums.autodesk.com/t5/visual-basic-customization/vba-open-file-with-dialog-box/m-p/1726554" target="_blank" rel="noopener"&gt;this thread&lt;/A&gt;, starting with post 11.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:37:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9303614#M4911</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2020-02-07T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select Data Fiile</title>
      <link>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9304223#M4912</link>
      <description>&lt;P&gt;Thanks, but it's still proving to be a struggle. I'm attempting to update code that I wrote ten years ago, and I'm out of date. Found your 2015 update in that thread in Message #44. Within the ShowOpen function, the last If-Else-Then branches into the Else part so no file selection dialog opens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried your update in the final 2016 message #49. On the FileDials line I get the error "Compile error" User-defined type not defined".&lt;/P&gt;&lt;P&gt;Is there a Tools -&amp;gt; References that I need to include?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 20:56:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9304223#M4912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-07T20:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select Data Fiile</title>
      <link>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9306527#M4913</link>
      <description>&lt;P&gt;Just re-read that whole thread and found what I'd missed - the class file zip for File Dialog, and the updated version. It runs well. Whoopee. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 06:20:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/select-data-fiile/m-p/9306527#M4913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-10T06:20:46Z</dc:date>
    </item>
  </channel>
</rss>

