<?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: Loop through sheet set in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/loop-through-sheet-set/m-p/5849381#M38418</link>
    <description>&lt;P&gt;I'm not sure if this will help at all but this is what I wrote that works in excel VBA. The lines in red are what need to be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Public Sub Demolition()


 For Each cell In &lt;FONT color="#FF0000"&gt;Range("E6:E13") 'Need to define every sheet in a subset&lt;/FONT&gt;
 
 If Right(&lt;FONT color="#FF0000"&gt;cell.Text&lt;/FONT&gt;, 1) = "D" Then &lt;FONT color="#FF0000"&gt;'Need to call out the sheet number property&lt;/FONT&gt;
 
 cell.Value = Left(&lt;FONT color="#FF0000"&gt;cell.Text&lt;/FONT&gt;, Len(&lt;FONT color="#FF0000"&gt;cell.Text&lt;/FONT&gt;) - 1) &amp;amp; "-D" &lt;FONT color="#FF0000"&gt;'Same as above&lt;/FONT&gt;
 
 End If
 
 Next cell
 
 
End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2015 14:03:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-07T14:03:39Z</dc:date>
    <item>
      <title>Loop through sheet set</title>
      <link>https://forums.autodesk.com/t5/net-forum/loop-through-sheet-set/m-p/5849003#M38417</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have around 200 drawings in subset of a sheet set. Half of the sheet numbers are just numbers and the other half are numbers with a D at the end. I want to add a dash before the D if the sheet number has one. Basically, I need to make this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;look like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1-D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2-D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3-D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think only VBA has access to edit the sheetset so a lisp can't be used. I can write the loop to work in excel VBA, but I'm having trouble in autoCAD VBA because I don't know how to call out all of the sheets in the subset or the property that needs to be changed (the sheet number).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 12:15:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/loop-through-sheet-set/m-p/5849003#M38417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-07T12:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through sheet set</title>
      <link>https://forums.autodesk.com/t5/net-forum/loop-through-sheet-set/m-p/5849381#M38418</link>
      <description>&lt;P&gt;I'm not sure if this will help at all but this is what I wrote that works in excel VBA. The lines in red are what need to be changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Public Sub Demolition()


 For Each cell In &lt;FONT color="#FF0000"&gt;Range("E6:E13") 'Need to define every sheet in a subset&lt;/FONT&gt;
 
 If Right(&lt;FONT color="#FF0000"&gt;cell.Text&lt;/FONT&gt;, 1) = "D" Then &lt;FONT color="#FF0000"&gt;'Need to call out the sheet number property&lt;/FONT&gt;
 
 cell.Value = Left(&lt;FONT color="#FF0000"&gt;cell.Text&lt;/FONT&gt;, Len(&lt;FONT color="#FF0000"&gt;cell.Text&lt;/FONT&gt;) - 1) &amp;amp; "-D" &lt;FONT color="#FF0000"&gt;'Same as above&lt;/FONT&gt;
 
 End If
 
 Next cell
 
 
End Sub&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:03:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/loop-through-sheet-set/m-p/5849381#M38418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-07T14:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Loop through sheet set</title>
      <link>https://forums.autodesk.com/t5/net-forum/loop-through-sheet-set/m-p/5850055#M38419</link>
      <description>&lt;P&gt;This old &lt;A title="Filling-the-Gaps-in-the-Sheet-Set-Manager" href="http://forums.augi.com/showthread.php?149414-CP215-2-Filling-the-Gaps-in-the-Sheet-Set-Manager" target="_blank"&gt;Autodesk University class&lt;/A&gt; should give you the infomation you need.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 16:47:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/loop-through-sheet-set/m-p/5850055#M38419</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2015-10-07T16:47:07Z</dc:date>
    </item>
  </channel>
</rss>

