发布网友 发布时间:2024-10-23 04:53
共5个回答
热心网友 时间:2024-10-23 08:15
Private Function mFS(mCell As Range, mStr1 As String, mstr2 As String, mC As Boolean) As Boolean热心网友 时间:2024-10-23 08:15
Function et(a As Range, b As String, c As String, d As String)热心网友 时间:2024-10-23 08:16
Function exFind(within_Cell As Range, find_text1 As String, find_text2 As String, Optional findMode As Long = 1) As Boolean
If findMode = 2 Then
exFind = (InStr(within_Cell.Cells(1, 1).Value, find_text1) > 0 Or InStr(within_Cell.Cells(1, 1).Value, find_text2) > 0)
Else
exFind = (InStr(within_Cell.Cells(1, 1).Value, find_text1) > 0 And InStr(within_Cell.Cells(1, 1).Value, find_text2) > 0)
End If
End Function
热心网友 时间:2024-10-23 08:17
ALT+F11 打开VBE 窗口 插入模块 ,代码放在模块里面
热心网友 时间:2024-10-23 08:17
这个不用VBA也可以实现吧?