Format table cell action
- Updated: 2025/10/15
The Format table cell action in the Apple Keynote package enables you to modify the appearance and properties of individual cells including cell background color, borders, text alignment, font style to enhance the look and clarity of your table data
Settings
- Use the Session name field to select one of the following
options:
- Session name: Enter the name of the session used
to open the presentation with the Open
action.
(Optional) Click the Insert a value icon to select an existing variable that you have used to store the default session name.
- Variable: Enter the name of the variable that you have used to store the session name.
- Session name: Enter the name of the session used
to open the presentation with the Open
action.
- In the Table title field, specify the title of the table you want to format, for example, Table 1.
- In the Cell address field, specify the cell or range address to format, for example, A1 or B2:C4.
- In the Format options, select one of the following
settings to format your media.
- Basic: use this option to change any of the
following settings:
- Cell fill: specify the color code in hexadecimal format, for example, #FF5733
- Text formatting: specify a Font name, Font size, and Text color
- Text alignment: Choose
Horizontal or
Vertical alignment options.Note: By default, the text is centre aligned horizontally and middle aligned vertically.
- Enable or disable Wrap text in cell option as needed. This option is enabled by default.
- Script: Specify instructions for formatting a table cell in Keynote.
- Basic: use this option to change any of the
following settings:
Example script syntax and structure
You can use the Script option to specify instructions to
format a table cell in the Keynote.
Note: When specifying a
script, the properties within quotation marks currently cannot be set. For
example, properties such as,
set font name to "Futura-CondensedMedium"
To
set such properties, for example, the font name, use the
Basic option.A general structure of a Format table cell script looks like this:
Note: Font and background color should be specified as an RGB value, using a list of
three color values ranging from 0 to
65535.
set width of (column of cellRange) to 140
set height of (row of cellRange) to 80
set font size to 28
set alignment to center
set text color to {56789, 0, 56789}
set text wrap to true
set background color to {56789, 56789, 65535}
set vertical alignment to bottom