如何编写一个可以比较两个Excel并更新它的宏 [英] How Do I Write A Macro Which Can Compare Two Excel And Update That
本文介绍了如何编写一个可以比较两个Excel并更新它的宏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个宏,它可以比较两个不同的Excel工作簿。
从一个excel中获取文本并搜索另一个。
如果发现textdata,请更新第一个excel中的更改。
示例:Execl1_OLD:sheet将客户ID,名称,年龄,地址作为列名称
Execl2_New:拥有相同的数据客户ID,姓名,年龄,地址作为coulumnName
从Execl2_New获取一个Customerid并在Execl1_OLD中搜索如果找到的数据更新相同在Execl2_New
I want create a macro which can
compare two different excel Workbook.
Take a text from one excel and search the other.
If found that textdata, update the changes in first excel.
Example : Execl1_OLD:sheet have Customer ID, Name, Age ,address as column Name
Execl2_New : have same data Customer ID, Name, Age ,Address as coulumnName
Take one Customerid from Execl2_New and search in Execl1_OLD if data found update the same in Execl2_New
推荐答案
你有一个问题吗?
我看不到影子开始工作。
如果你想让别人为你做这份工作,请雇一名程序员。
And you have a question ?
I don't see the shadow of the beginning of your work.
If you want someone to do the job for you, hire a programmer.
这篇关于如何编写一个可以比较两个Excel并更新它的宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文