脚本向导-帮助文档

脚本向导-帮助文档


获取单元格颜色

<h1>功能</h1> <p>提取单元格的背景色,并将其保存为颜色变量。</p> <h1><strong>输入</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>单元格</td> <td>【字符串】工作簿中工作表的名称</td> <td>‘A1’</td> </tr> <tr> <td>工作表名称</td> <td>【字符串】工作表在工作簿中的名称</td> <td>‘Sheet1</td> </tr> </tbody> </table> <h1><strong>输出</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>颜色</td> <td>【TColor】指定单元格的颜色,创建【TColor】类型的变量</td> <td>{填入变量名称}</td> </tr> </tbody> </table> <h1><strong>注意/说明</strong></h1> <p>函数的返回值是,单元格颜色的代码,不是文字表示。</p> <h1>相关函数</h1> <p>无</p> <h1><strong>示例/演示</strong></h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/91062a453103d51784aa51dc1fa1fa55" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/16972010abef5f7695cce9cbb061551d" title="[组件[获取单元格颜色]_20210208.db">组件[获取单元格颜色]_20210208.db</a></p>

页面列表

ITEM_HTML