vba如何判断一个数组中包含某个字符
比如:arr1=Array("MS","MA","ES","EA","CMC","BSO")arr2=Array("DK","MS","EA","HJ")如果数组arr1...
比如:arr1 = Array("MS", "MA", "ES", "EA", "CMC", "BSO")
arr2=Array("DK","MS","EA","HJ")
如果数组arr1数组包含arr2里的字符就输出abc,如果不包含就输出null
希望能有牛人帮忙解决 展开
arr2=Array("DK","MS","EA","HJ")
如果数组arr1数组包含arr2里的字符就输出abc,如果不包含就输出null
希望能有牛人帮忙解决 展开
2个回答
2014-03-10
展开全部
if instr(1,join(arr1),"a") then msg box "存在"
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询