简体   繁体   中英

Copy Excel Sheet into another Sheet in another Workbook

I am trying to write a VBScript to copy the contents of one sheet in a workbook to a sheet in another workbook. I was going to just copy and paste each individual column as I already know how to copy individual columns but I am assuming there must be an easier way.

This will copy the sheet:

    Cells.Select
    Selection.Copy
    Windows("2ndWorkbookName").Activate
    ActiveSheet.Paste

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM