How to copy one of the worksheets (such as: Sheet2) into another file and saved a disk.

xiaoxiao2021-03-06  56

Sub Macro 1 () Sheets ("Sheet2"). Selectcells.SelectionSelection.copy

ChDrive "a" chdir ("a: /") Workbooks.addactiveworkbook.saves ("A: / File") Activeesheet.Pasteend Sub

转载请注明原文地址:https://www.9cbs.com/read-121114.html

New Post(0)