- 概述
- Apple Mail
- AppleNumbers
- Apple 脚本编写
- Excel
- 发行说明
- 关于 Excel 活动包
- 项目兼容性
- 受支持的字符编码
- 项目设置
- 添加或更新 Excel 敏感性标签
- 附加范围
- 自动填充
- 自动调整范围
- 更改透视表数据源
- 清除工作表/范围/表格
- 复制/粘贴范围
- 创建透视表
- 删除列
- 删除行
- 删除工作表
- 复制工作表
- 导出为 CSV
- 填充范围
- 筛选
- 筛选条件透视表
- 查找数据的首行/末行
- 查找/替换值
- 对每个 Excel 行
- 对每个 Excel 工作表
- 格式化为表格
- 设置单元格的格式
- 获取单元格颜色
- 获取 Excel 图表
- 获取 Excel 敏感性标签
- 获取选定范围
- 插入列
- 插入图表
- 插入行
- 插入工作表
- 调用 VBA
- 查找
- “匹配”功能
- 保护工作表
- 读取单元格公式
- 读取单元格值
- 读取范围
- 刷新 Excel 数据连接
- 刷新透视表
- 删除重复项
- 重命名工作表
- 运行电子表格宏
- 保存 Excel 文件
- 将 Excel 文件另存为
- 将 Excel 文件保存为 PDF 格式
- 选择范围
- 范围排序
- 分列
- 取消保护工作表
- 更新 Excel 图表
- 使用 Excel 文件
- VLookup
- 写入单元格
- 写入 CSV
- 将数据表写入 Excel
- 附加范围 Workbook
- Auto Fit Workbook (preview)
- Clear Range Workbook (preview)
- 新建工作簿
- 创建透视表工作簿
- Delete Columns Workbook (preview)
- Delete Rows Workbook (preview)
- Delete Sheet Workbook (preview)
- Duplicate Sheet Workbook (preview)
- Fill Range Workbook (preview)
- Filter Range Workbook (preview)
- Find First or Last Data Row Workbook (preview)
- Format Range Workbook (preview)
- 获取单元格颜色工作簿
- 获取工作表工作簿
- 获取表格范围 Workbook
- 插入图表工作簿
- Insert Columns Workbook (preview)
- 插入图像工作簿
- Insert Rows Workbook (preview)
- Insert Sheet Workbook (preview)
- Lookup Workbook (preview)
- Match Function Workbook (preview)
- Protect Sheet Workbook (preview)
- 读取单元格公式 Workbook
- 读取单元格 Workbook
- 读取列 Workbook
- 读取范围 Workbook
- 读取行 Workbook
- Remove Duplicates Workbook (preview)
- Rename Sheet Workbook (preview)
- 设置范围颜色工作簿
- Sort Range Workbook (preview)
- Unprotect Sheet Workbook (preview)
- 更新图表工作簿
- VLookup Workbook (preview)
- 写入单元格 Workbook
- 写入范围 Workbook
- Google Workspace
- 发行说明
- 关于“Google Workspace”活动包
- 项目兼容性
- 项目设置
- 添加参加者
- 创建活动
- 删除活动
- 修改活动
- 搜索活动
- 使用 Google 云端硬盘
- 共享文件
- 删除文件权限
- 获取文件权限
- 更新文件权限
- 复制文件
- 创建文件夹
- 删除文件
- 下载文件
- 查找文件和文件夹
- 获取文件信息
- 移动文件
- 上传文件
- 创建文档
- 创建新电子表格
- 获取邮件消息
- 发送邮件消息
- 更改标签
- 使用 Google 电子表格
- 添加/删除列
- 添加删除行
- 自动填充范围
- 添加新工作表
- 附加行
- 批量电子表格更新
- 复制工作表
- 复制粘贴范围
- 删除范围
- 删除工作表
- 获取单元格颜色
- 获取工作表
- 读取单元格
- 读取列
- 读取范围
- 读取行
- 重命名工作表
- 写入单元格
- 写入范围
- 清除范围
- 下载电子表格
- 使用 Google 文档
- 批量文档更新
- 获取文档
- 获取文本索引
- 插入文本
- 替换文本
- 读取所有文本
- 创建脚本项目
- 获取项目内容
- 上传脚本文件
- 创建部署
- 运行脚本
- LibreOffice Calc - Preview
- 邮件
- Microsoft 365
- 发行说明
- 关于 Microsoft Office 365 活动包
- 项目兼容性
- 项目设置
- Microsoft Office 365 作用域
- 添加工作表
- 附加范围
- 清除范围
- 复制范围
- 复制工作表
- 创建工作簿
- 删除范围
- 删除工作表
- 获取单元格颜色
- 获取工作表
- 读取单元格
- 读取列
- 读取范围
- 读取行
- 重命名工作表
- 写入单元格
- 写入范围
- 设置范围颜色
- 创建表格
- 获取表格范围
- 插入列
- 删除列
- 插入行
- 删除行
- VLookup 范围
- 使用 OneDrive 和 SharePoint
- 复制文件/文件夹
- 创建文件夹
- 删除文件/文件夹
- 下载文件
- 将文件导出为 PDF
- 查找文件和文件夹
- 获取文件/文件夹
- 移动文件/文件夹
- 上传文件
- 共享文件/文件夹
- 遍历每个文件/文件夹
- 转发邮件
- 查找会议时间
- 获取邮件
- 移动邮件
- 发送邮件
- 回复邮件
- 删除邮件
- 设置邮件类别
- 添加附件
- 添加参加者
- 添加地点
- 创建活动
- 删除活动
- 获取日历
- 修改活动
- RSVP
- 搜索活动
- 创建组
- 删除组
- 获取组
- 列出组
- 创建存储桶
- 删除存储桶
- 列出存储桶
- 列出存储桶任务
- 创建计划
- 获取计划
- 列出计划
- 创建任务
- 删除任务
- 获取任务
- 列出任务
- 更新任务
- 遍历列表
- 获取列表信息
- 遍历列表项目
- 删除列表项目
- 添加列表项目
- 更新列表项目
- 获取列表项目
- 身份验证故障排除
- AADSTS50011:重定向 URI 不匹配
- AADTS50076:使用多重身份验证
- AADSTS50079:用户需要使用多重身份验证
- AADSTS500113:没有为应用程序注册回复地址
- AADSTS900971:未提供回复地址
- AADSTS65001:用户或管理员未同意使用该应用程序
- AADSTS65004:用户拒绝同意访问该应用程序
- AADSTS7000218:请求正文必须包含以下参数:client_assertion 或 client_secret
- AADSTS700025:客户端是公开的,因此不应提供“client_assertion”和“client_secret”
- AADSTS70002:InvalidClient - 验证凭据时出错
- AADSTS7000215:提供的客户端密码无效
- AADSTS50055:密码已过期
- AADSTS700082:由于不活动,刷新令牌已过期
- AADSTS50194:应用程序未配置为多租户应用程序
- AADSTS53003:条件访问策略已阻止访问
- 邮件故障排除
- 日历故障排除
- 文件故障排除
- 表格故障排除
- 演示文稿
- Word
Format Range Workbook (preview)
Format Range Workbook activity that sets the number format, alignment, and font of the cells in a range.
UiPath.Excel.Activities.FormatRange
描述
Sets the number format, alignment, and font of the cells in a range. This is the cross-platform equivalent of the Format Cells Windows activity.
This activity does not support .xls files.
项目兼容性
Windows | 跨平台
属性
常见
- DisplayName - The name displayed for the activity in the Designer panel.
输入
- 文件- 资源工作簿的完整路径。要切换到本地路径,请选择加号图标,然后选择使用本地文件。当前字段更改为文件(本地路径) ,您可以在其中提供 workbook 的完整路径。
- “工作表名称” - workbook 中工作表的名称。
- Range - The range to format. This field is required.
格式
Like the Windows activity, the designer shows one section of the settings at a time. Use the Format selector to choose between Data Type, Alignment, and Font. The selector is only used by the designer and is not saved with the workflow. The settings of the sections that are not displayed are kept and still applied.
You can configure any combination of the settings in the three sections. A setting that you leave unset keeps the existing formatting of the cells. This includes Category. For example, if you set only Font style, the existing number format isn't reset to General.
数据类型
- Category - The number format category to apply. Leave this field unset to keep the existing number format. When you select a category, only the fields of that category are displayed. If you bind Category to a variable or an expression, all the category fields are displayed.
- 数字
- Decimals - The number of decimal places. The default value is
2. - Use 1000 Separator - Select this option to use a thousands separator. By default, this option is not selected.
- Decimals - The number of decimal places. The default value is
- 币种
- Decimals - The number of decimal places. The default value is
2. - Use 1000 Separator - Select this option to use a thousands separator. By default, this option is not selected.
- Symbol - The currency symbol. The default value is
$. The symbol can't contain a quotation mark. - Set at the end - Select this option to place the symbol after the value instead of before it. By default, this option is not selected.
- Decimals - The number of decimal places. The default value is
- 百分比
- Decimals - The number of decimal places. The default value is
2.
- Decimals - The number of decimal places. The default value is
- 日期
- Date format - The date format: 3/14/2012 (short) or Wednesday, March 14, 2012 (long). The default value is 3/14/2012.
- 时间
- Time format - The time format: 11:30 (hours and minutes) or 11:30:55 (hours, minutes, and seconds). The default value is 11:30.
- AM/PM - Select this option to use the 12-hour AM/PM format instead of the 24-hour format. By default, this option is not selected.
- 自定义
- Custom format - A custom Excel number format string, used as entered.
- General and Text have no additional fields. General applies the
Generalformat, and Text applies the@format.
- 数字
对齐
- Horizontal - The horizontal alignment of the cell content. Leave this field unset to keep the existing alignment. You can choose from the following options:
- 常规
- 左侧
- 居中
- 右侧
- Fill
- Justify
- Center Across Selection
- Distributed
- Vertical - The vertical alignment of the cell content. Leave this field unset to keep the existing alignment. You can choose from the following options:
- 顶部
- 居中
- 底部
- Justify
- Distributed
- Wrap text - Select this option to wrap the text within the cell. By default, this option is not selected. The setting is applied when the option is selected, or when a horizontal or vertical alignment is set, so that it can turn the wrapping off. Otherwise, the existing wrapping is kept.
字体
- Font - The name of the font family. Leave this field unset to keep the existing font.
- Font style - The font style. Leave this field unset to keep the existing style. You can choose from the following styles:
- Regular
- 斜体
- 加粗
- Bold Italic
- Font size - The font size, in points. Leave this field unset to keep the existing size.
- Font color - The font color, as a color name, for example
Red, or a hex color, in the#RRGGBBor#AARRGGBBformat. Leave this field unset to keep the existing color. - Underline style - The underline style of the font. Leave this field unset to keep the existing style. To remove an underline, select None. You can choose from the following styles:
- 无
- 单个
- Double
- Single Accounting
- Double Accounting
- Fill color - The fill, or background, color. It accepts the same values as Font color. Enter
Transparentto remove the fill. Leave this field unset to keep the existing fill.
选项
- 密码- workbook 的密码(如有必要)。
使用 workbook
- Workbook - The existing workbook to use instead of a file path.
注意
- A setting that has no value isn't applied. A setting that has a value is applied, including
Falseand0. - Font color and Fill color accept a color name, without taking the case into account, for any known
System.Drawingcolor, such asRedorLightGray, or a hex color. Any other value causes an error before any setting is applied. There is no color picker yet, so you enter the colors as text. - A whole-column or whole-row range, such as
A:A, applies a single column-level or row-level style. This matches the behavior of Excel, and the style also applies to cells that you fill in later. - Range must refer to the sheet in SheetName. A range that includes a sheet name, such as
Sheet2!A1:A10, is not supported and causes an error. - A Custom format causes an error if, before the first number, date, or time placeholder, the double quotation marks don't occur in pairs. This applies whether or not a quotation mark is preceded by a backslash. For example,
"a"\"0.00and\"0.00are rejected.