excel vba compare & copy worksheets from 2 excel files
问题 i've workbook 1 with 100 worksheets. i've workbook 2 with 200 worksheets. i need to perform 2 tasks: For those existing worksheets(same worksheet name in both books), i want to delete book 1 worksheet content (column A-Z) and copy content (column A-Z) from book 2 to book 1. For those missing worksheets in workbook 1, i want to copy the entire worksheet from book 2 to book 1. pls advise if there are any existing online vba, thanks. 回答1: First of all you need to loop through all your worksheets