【发布时间】:2018-01-29 10:23:46
【问题描述】:
在 excel 表 1 中,我有一个名为 phonetype 的列,每个单元格中都有一些字符串。
我在同一个 Excel 工作簿中有工作表 2,列名 allowed phonetype 和每个单元格中的一些字符串。
现在我想比较 sheet 1 的 Phonetype 列中的字符串是否与 sheet 2 的 allowed phonetype 列中的字符串相同;如果不突出显示这些单元格。
一切都使用 vba。
Sheet 1 Sheet 2
column name:"Phonetype" columnname:"allowed phone type"
cell 1:welcome cell 1:welcome
cell 2: cell 2:hi121
cell 3:heythere
cell 4:hi121
表格 2 中不存在字符串“heythere”(列:“允许的电话类型”),因此应突出显示
【问题讨论】:
-
你做了什么?什么不工作?发布代码,您应该显示您尝试过的内容。请注意,类似的问题已经被问过很多次了,也有人回答过很多次,所以试试搜索功能吧。