将源工作表中的列的所有数据附加到目标工作表中的匹配列

时间:2015-08-18 16:27:47

标签: excel vba

我有一个Source WS和一个Target WS。 Source在Target处具有相同的列名称。目标WS中的列名不是相同的顺序。我想将Source中列的所有数据附加到Target WS中匹配列的末尾。我只需要复制源WS中的列名与Target WS中的列名匹配的数据。感谢您提供的任何帮助。感谢。

源WS中的列名称为:

OBJECT TYPE SOURCE OBJECT   APPLICATION COLUMN NAME STATUS ENABLED FLAG
CONCURRENT PROGRAM  FILE PATH   JOB ASSIGNMENT CATEGORY POSITION
ASSIGNMENT DFF  NEW ROW

目标WS中的列名称为:

Deliverable ID  Object ID   SOURCE OBJECT   Customization Name/Description
APPLICATION Customization Type  Developer   Status  Developer Comments
Computed Estimate   Test Dependency Department  User Community  Test Plan ID
Tester  Test Status Testing Comments    Test Document   Priority    Fund Source
Payroll Impact  BSM Final Review    Tech Lead Verified  AppShortName    PathName
Filename    Install Sequence Number InstallationMethod  Install Document    Install Verified
Status Category ASSIGNMENT CATEGORY ASSIGNMENT DFF  JOB POSITION
Description of Proposed Changes Modified    Modified By Item Type   Path

0 个答案:

没有答案