Message 1 of 2

Not applicable
06-01-2017
05:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to write a subroutine to take the output of excel sheet data with different numbers of columns and rows and then turn them into AutoCAD tables. I have to subroutine to create a table from a variable size list.
My problem is how to get the width of each column based on the maximum width of text in each column.
Here is an example list -
(setq List_Table
(list
(list "Heading 1" "Heading 2" "Heading 3")
(list "Row 2 Text Value" "0.11" "This is a number")
(list "Row 3 Text Description" "This is more" "0.23")
(list "Row 4" "Line 4" "This is a longer cell")
)
)
Solved! Go to Solution.