是可能比较两个excel文件,使用vba吗? [英] Is it possible compare two excel files, using vba?

查看:134
本文介绍了是可能比较两个excel文件,使用vba吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果使用VBA,我可以比较两个类似的excel文件,并显示突出显示单元格或不同颜色的行的背景的差异。

I would like to know if using VBA I can compare two similar excel files and shows the differences highlighting the background of cells or rows with different colors.

推荐答案

循环遍历所有单元格,进行简单比较,突出显示(更改背景颜色)不匹配的单元格。

Loop through all the cells and make simple comparison, and highlight (change background color) cells that did not match.

这篇关于是可能比较两个excel文件,使用vba吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆