<?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: Problem opening Sheet Set in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/problem-opening-sheet-set/m-p/2399201#M16914</link>
    <description>Filename is populated properly with the .dst extension.</description>
    <pubDate>Wed, 17 Dec 2008 20:36:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-12-17T20:36:02Z</dc:date>
    <item>
      <title>Problem opening Sheet Set</title>
      <link>https://forums.autodesk.com/t5/vba-forum/problem-opening-sheet-set/m-p/2399199#M16912</link>
      <description>We are trying to open a sheet set and then loop through all of the drawings in the set to pull the drawing properties out to create a custom table.  Below is the code, it works fine until I get to the line marked (=&amp;gt;).&lt;BR /&gt;
&lt;BR /&gt;
==================================================================&lt;BR /&gt;
Public SheetDb As IAcSmDatabase&lt;BR /&gt;
Public SheetSetMgr As IAcSmSheetSetMgr&lt;BR /&gt;
Public Sheetset As IAcSmSheetSet&lt;BR /&gt;
Public SheetT02 As IAcSmSheet&lt;BR /&gt;
&lt;BR /&gt;
Private Sub CBOK_Click()&lt;BR /&gt;
    Dim FileName As String&lt;BR /&gt;
&lt;BR /&gt;
    FileName = cboFileName.Text&lt;BR /&gt;
&lt;BR /&gt;
    Set SheetDb = Nothing&lt;BR /&gt;
    Set Sheetset = Nothing&lt;BR /&gt;
    &lt;BR /&gt;
    'Open chosen database sheetset file&lt;BR /&gt;
=&amp;gt;  Set SheetDb = SheetSetMgr.OpenDatabase("\\Gpdfwfile1\mechanical engineering\Sheet sets\PROJECTS\" &amp;amp; FileName, True)&lt;BR /&gt;
&lt;BR /&gt;
    'Lock the database before doing any operation on it&lt;BR /&gt;
    Call SheetDb.LockDb&lt;BR /&gt;
    &lt;BR /&gt;
    'Get the sheet set from the database&lt;BR /&gt;
    Set Sheetset = SheetDb.GetSheetSet&lt;BR /&gt;
&lt;BR /&gt;
===================================================================&lt;BR /&gt;
&lt;BR /&gt;
Can anyone provide any insights?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Pat</description>
      <pubDate>Wed, 17 Dec 2008 14:28:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/problem-opening-sheet-set/m-p/2399199#M16912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-17T14:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem opening Sheet Set</title>
      <link>https://forums.autodesk.com/t5/vba-forum/problem-opening-sheet-set/m-p/2399200#M16913</link>
      <description>Does the FileName variable have a value? I see an assignment, but does it have a filename with extension value.&lt;BR /&gt;
Also, maybe it doesn't like the path (just a thought, don't see why it would be a problem)</description>
      <pubDate>Wed, 17 Dec 2008 20:12:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/problem-opening-sheet-set/m-p/2399200#M16913</guid>
      <dc:creator>AdammReilly</dc:creator>
      <dc:date>2008-12-17T20:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem opening Sheet Set</title>
      <link>https://forums.autodesk.com/t5/vba-forum/problem-opening-sheet-set/m-p/2399201#M16914</link>
      <description>Filename is populated properly with the .dst extension.</description>
      <pubDate>Wed, 17 Dec 2008 20:36:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/problem-opening-sheet-set/m-p/2399201#M16914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-17T20:36:02Z</dc:date>
    </item>
  </channel>
</rss>

