Format Cell
This article provides information on the following topics:
Note: The Actions Quick Reference provides a complete list of actions that you can print for easy reference.
What is the Format Cell Action?
The Format Cell Action applies formatting to a range of cells in an Excel workbook, such as Bold, Italic and Underline.
Creating a Format Cell Action
Drag and drop the Selector
onto the Targets
list in the target workbook to display the available target options. Continue
to drag the Selector to the Cell
option, expanding the available Cell
Options
.
Choose the desired cell option:
- Current Cell - Performs the action to the active cell in the workbook
- Exact Cell - Performs the action to a cell specified by the user
- Cell Range - Performs the action to a defined range of cells
- Named Range - Performs the action
to a named range within the workbook
Note: An Exact Cell can also be accessed by targeting it directly. For more information about modifying a target cell, read the Understanding Excel Targets section of the Understanding Targets article.
If this is the first time the workbook was targeted, Nintex RPA will attempt to create a workbook connection automatically. (For more information about Microsoft Excel workbook connections, read the Excel Connections article.)
A preview of the target
cell is displayed along with a button that
allows you to modify the cell
to target
, per the Cell
Options (above). (For more information about modifying a
target cell, read the Understanding
Excel Targets section of the Understanding
Targets article.)
Select the Format
Cell Action from the Actions
list.
Select the Rules
to change the Connection for this Action. Both
the Timing
and
Error
settings
for this action may be configured to fine tune the how the Action will
run.
Note: For more information about Timing and Error settings, read the Action Builder article.
Check the formatting options you wish to change, then select the desired setting:
- Font Name
- Changes the font of the targeted cell(s). If your desired font is not found, you may specify a custom
font
- Font Size
- Changes the size of the font in the targeted cell(s). If your desired size is not found, you may specify a custom
size
- Horizontal Alignment
- Horizontally aligns the text of the cell. Optionally, you may choose to indent
the contents of the cell
- Border
- Places a border around the targeted cell(s)
- Vertical Alignment
- Vertically aligns the text of the cell(s)
- Bold
- Bolds the text of the targeted cell(s)
- Italic
- Italicizes the text of the targeted cell(s)
- UnderLine
- Underlines the text of the targeted cell(s)
- Strikethrough
- Adds a strikethrough effect to the text of the targeted cell(s)
- Wrap Text
- Wraps the text of the targeted cell(s)
Optionally add Notes
to the Action to document any special instructions
or functionality. When the Run Switch
is set to Run, the action
will be executed after clicking OK.
Note: The run switch is set to Run by default. To create or modify this action without executing it, click the slider to change the option to Don't Run. For more information, see Action Builder.
Click the OK
button to save the Action.