2 Replies Latest reply on May 11, 2016 3:44 PM by Amen Allah Jlili

    Macro to insert General Table at cursor?

    Brian Mears

      I need a macro to insert a general table. Eventually it'll present a dialog & allow the user to choose from a group of saved tables, but for now, it just inserts the table specified in the code. I found the macro here (written by Deepak) a couple of months ago & modified it slightly.


      As-is, it inserts the table at 0,0 in the drawing (bottom left corner of the sheet). Instead, I'd like to insert it at (with) the cursor - either it floats with the cursor like the Insert Table command works now, or the user picks a point & the code inserts the table at the selected point.  I think one or both of these is possible, but making this work is beyond what I'm capable of. Would anybody be able to confirm that this will work, and modify this code to make it work?


      Thank you!