6 个解决方案
#1
转换一下先,再比较
比如统一转为大写
比如统一转为大写
#2
Lcase 或 Ucase ,呵呵
#3
Option Compare Text
Private Sub Command1_Click()
If "Bde" = "bdE" Then MsgBox "ok"
end sub
Private Sub Command1_Click()
If "Bde" = "bdE" Then MsgBox "ok"
end sub
#4
1 楼 正解
jf
jf
#5
ucase("Bde") = ucase("bdE")
#6
ucase("a")=ucase("A")
#1
转换一下先,再比较
比如统一转为大写
比如统一转为大写
#2
Lcase 或 Ucase ,呵呵
#3
Option Compare Text
Private Sub Command1_Click()
If "Bde" = "bdE" Then MsgBox "ok"
end sub
Private Sub Command1_Click()
If "Bde" = "bdE" Then MsgBox "ok"
end sub
#4
1 楼 正解
jf
jf
#5
ucase("Bde") = ucase("bdE")
#6
ucase("a")=ucase("A")