With
rngBereich(iZeile, iSpalte)
If
.Value
Like
(
"*"
& sSuch1 &
"[ .,!:;?]*"
)
Or
.Value
Like
(
"*"
& sSuch1)
Then
iCheck = (iCheck
Or
1)
If
.Value
Like
(
"*"
& sSuch2 &
"*"
)
Then
iCheck = (iCheck
Or
2)
End
With
With
rngBereich(iZeile, iSpalte)
If
.Value
Like
(
"*"
& sSuch1 &
"[ .,!:;?]*"
)
And
Not
.Value
Like
(
"*"
& sSuch1 &
"kuchen*"
)
Then
iCheck = (iCheck
Or
1)
If
.Value
Like
(
"*"
& sSuch2 &
"*"
)
Then
iCheck = (iCheck
Or
2)
End
With