This article includes sample code and describes how to copy and move worksheets programmatically both within an Excel workbook and across Excel workbooks using the JavaScript via C++ API.... tables, matrices, charts, images and other objects, are copied...then select the sheets. On the Edit menu, click Move or Copy Sheet...