<?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: Convert Table/Schedule Object in an 2D Array in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10963362#M2688</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;I found a post here concerning the schedule and MEP&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/vba/managing-schedule-table/m-p/9786098" target="_blank"&gt;https://forums.autodesk.com/t5/vba/managing-schedule-table/m-p/9786098&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to read and in case apply.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Feb 2022 18:49:51 GMT</pubDate>
    <dc:creator>grobnik</dc:creator>
    <dc:date>2022-02-21T18:49:51Z</dc:date>
    <item>
      <title>Convert Table/Schedule Object in an 2D Array</title>
      <link>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10920030#M2683</link>
      <description>&lt;P&gt;How could convert a Table/Schedule Object in an 2D Array?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I mean something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArrayVariable = {CellA1,CellB1,CellC1 ; CellA2,CellB2,CellC2 ; CellA3,CellB3,CellC3}&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 03:51:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10920030#M2683</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2022-02-01T03:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Table/Schedule Object in an 2D Array</title>
      <link>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10921651#M2684</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;you can try with below procedure, could be not so quickly but it's working, let us know the result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Sub table_to_array()
Dim MyArr() As Variant
Dim MyObject As AcadObject
Dim MyTable As AcadTable

For Each MyObject In ThisDrawing.ModelSpace
    If TypeOf MyObject Is AcadTable Then
       Set MyTable = MyObject
        Tot_Row = MyTable.Rows
        Tot_Col = MyTable.Columns
        Exit For
    End If
Next
ReDim MyArr(Tot_Col, Tot_Row)

MyTable.RegenerateTableSuppressed = True

For TableRow = 1 To Tot_Row
    For TableCol = 1 To Tot_Col
        MyArr(TableCol, TableRow) = MyTable.GetCellValue(TableRow, TableCol)
    Next
Next
MyTable.RegenerateTableSuppressed = False

End Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 18:42:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10921651#M2684</guid>
      <dc:creator>grobnik</dc:creator>
      <dc:date>2022-02-01T18:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Table/Schedule Object in an 2D Array</title>
      <link>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10921677#M2685</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;pls check the code, I made a little modification on&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;RegenerateTableSuppressed = True&lt;/PRE&gt;&lt;P&gt;and below setting to False.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 18:44:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10921677#M2685</guid>
      <dc:creator>grobnik</dc:creator>
      <dc:date>2022-02-01T18:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Table/Schedule Object in an 2D Array</title>
      <link>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10958138#M2686</link>
      <description>&lt;P&gt;Your code work perfectly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;... Just curiously, is there any method to read Schedule Objects for AutoCAD MEP or Architecture?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 04:11:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10958138#M2686</guid>
      <dc:creator>jtm2020hyo</dc:creator>
      <dc:date>2022-02-18T04:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Table/Schedule Object in an 2D Array</title>
      <link>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10962190#M2687</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;I'm sorry I don't know in deep such product, you should try to find something on web or on line help related to vba development specific for that product. I guess yes but I don't know how.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 06:47:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10962190#M2687</guid>
      <dc:creator>grobnik</dc:creator>
      <dc:date>2022-02-21T06:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Table/Schedule Object in an 2D Array</title>
      <link>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10963362#M2688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3529276"&gt;@jtm2020hyo&lt;/a&gt;&amp;nbsp;I found a post here concerning the schedule and MEP&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/vba/managing-schedule-table/m-p/9786098" target="_blank"&gt;https://forums.autodesk.com/t5/vba/managing-schedule-table/m-p/9786098&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try to read and in case apply.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 18:49:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/convert-table-schedule-object-in-an-2d-array/m-p/10963362#M2688</guid>
      <dc:creator>grobnik</dc:creator>
      <dc:date>2022-02-21T18:49:51Z</dc:date>
    </item>
  </channel>
</rss>

