Editing table cell borders
Posted: 2022-10-30 00:26:19
I wish to change the borders of a cell in a table. The code I have tried is:
I have experimented with various combinations of capitals (Invisible/invisible) and single/double/no quotes, but all i get is error messages like these:
command. Does anyone know the correct syntax, please?
Also: can I change the whole table at one go, or do I have to write a couple of loops to address every cell and change its borders individually?
Thanks in advance.
Code: Select all
Select Table 1
$thisTable = Table.selectedTable
$aCell = $thisTable.cellAtRowAndColumn 1, 1
$aCell.setLineAttributesForEdges 'invisible', 'top'
- unexpected text in macro source code
invalid variable assignment
Expected a value of type LineAttributes, found Text.
Code: Select all
setLineAttributesForEdges
Also: can I change the whole table at one go, or do I have to write a couple of loops to address every cell and change its borders individually?
Thanks in advance.