相关疑难解决方法(0)

如何比较工作表中的两个整行

我是VBA的新手.我手头有工作来提高VBA代码的性能.为了提高代码的性能,我必须读取整行并将其与另一行进行比较.在VBA中有什么办法吗?

伪代码:

sheet1_row1=read row1 from sheet1
sheet2_row1=read row1 from sheet2
if sheet1_row1 = sheet2_row1 then
      print "Row contains same value"
else
      print "Row contains diff value"
end if
Run Code Online (Sandbox Code Playgroud)

excel vba excel-vba

10
推荐指数
3
解决办法
5万
查看次数

标签 统计

excel ×1

excel-vba ×1

vba ×1