【发布时间】:2017-03-14 03:42:53
【问题描述】:
此代码按预期工作,但我还需要在主题行中排除 Autoreplies 和其他一些字符串。我需要知道是否可以再添加 2 或 3 个赞。
我尝试了 And 和 Or 条件,但出现解析错误。
以下代码有效。我只需要在无法投递后添加另一个字符串条件。 " Like '%Automatic reply%'".
Filter = "@SQL=" & " Not " & _
"urn:schemas:httpmail:subject" & "" & _
" Like '%undeliverable%'"
谢谢。
【问题讨论】:
标签: excel vba outlook outlook-filter