Table object columns

Discussion in 'AutoCAD' started by michael montagne, Nov 13, 2004.

  1. I'm having a little trouble finding docs on the new Acad2005 table
    object. I need to create a table with 2 columns of different widths.
    Is this possible?

    -mjm
     
    michael montagne, Nov 13, 2004
    #1
  2. Hi,

    Yes.

    The easiest way to see what you can do is to write a little code like this:
    Sub Test ()
    Dim x as AcadTable
    Dim y as Variant
    With x
    ' Type
    "y = ."
    ' without the quote markers here and you will see a pull down
    ' list of properties and methods for the table.
    ' Select one of the properties and press the tab key.
    ' or Type
    "."
    ' without the quote markers here and you will see a pull down
    ' list of properties and methods for the table.
    ' Select one of the methods, press the tab key
    ' and type an extra space to see a list of the related parameters.

    End with
    End Sub

    Then select the word and press the F1 key.
     
    Laurie Comerford, Nov 13, 2004
    #2
  3. Yes. I can see a "columns" property, but I can't seem to reference each
    one (ie .columns(1).ColumnWidth=2). F1 gives me the same code snippet
    for creating a table object no matter what property I have selected.

    -mjm
     
    michael montagne, Nov 13, 2004
    #3
  4. Michael,

    Have you looked at the Table object's documentation much? It is rather
    clear. <hint> Look at the methods. </hint>

    --
    R. Robert Bell


    Yes. I can see a "columns" property, but I can't seem to reference each
    one (ie .columns(1).ColumnWidth=2). F1 gives me the same code snippet
    for creating a table object no matter what property I have selected.

    -mjm
     
    R. Robert Bell, Nov 15, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.