脚本向导-帮助文档

脚本向导-帮助文档


复制粘贴范围

<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>‘sheet1’</td> </tr> <tr> <td>源范围</td> <td>【字符串】要复制的范围</td> <td>'A1:C3'</td> </tr> <tr> <td>目标单元格</td> <td>【字符串】要粘贴的起始单元格</td> <td>'D4'</td> </tr> <tr> <td>目标工作表</td> <td>【字符串】要粘贴的目标工作表名称</td> <td>‘sheet1’</td> </tr> <tr> <td>复制项目</td> <td>【选项】选择要在指定范围中复制的附加数据。</td> <td>All</td> </tr> </tbody> </table> <h1><strong>注意/说明</strong></h1> <p>1、复制项目,可以在&quot;值&quot;、&quot;公式&quot;、&quot;数字格式&quot;、&quot;单元格格式&quot;和&quot;全部&quot;之间进行选择。 2、可以实现从一个工作簿中的一个页签复制到了另一个页签中。 3、如果是从一个工作簿复制到另一个工作簿,则会报“无效索引”。</p> <h1>相关函数</h1> <p>无</p> <h1><strong>示例/演示</strong></h1> <p>运行前的效果图: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c61dee24135769a2f4b791a2c0cad9a8" alt="" /> 运行后的效果图: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/2959ae38e5fbf7ebf805721ff56e95ec" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/4545d2d4d095397404d090059573cb75" title="[组件[复制粘贴范围]_20210218.db">组件[复制粘贴范围]_20210218.db</a></p>

页面列表

ITEM_HTML