在收件箱中发现了一封电子邮件...... 一旦他们说是,就不会再问了。 if QuestionAuto <> vbyes then QuestionAuto = MsgBox("Intake Manager has found an email in your Inbox ... Once they say yes, it won''t ask again. " Mark" <毫安********* @ ntlworld.com>在消息中写道 新闻:mR ***************** @ newsfe3-gui.ntli.net ... "Mark" <ma*********@ntlworld.com> wrote in messagenews:mR*****************@newsfe3-gui.ntli.net...我可能在这里忽略了这一点,但是因为它在FOR循环中存在而不会再显示消息框?它需要存在(我相信),因为我只是希望它显示收件箱中是否存在来自特定发件人的邮件!!! 非常感谢, 标记 使用该代码,如果用户选择是,则msgbox将不再显示 。注意,它在执行之前测试QuestionAuto。一旦用户 按下是,QuestionAuto将保持等于vbYes。 如果这不是你想要的行为,我认为你需要解释更多 清楚地说明你想要的消息框。 我猜你想要的是3种选择:导入是,导入不,进口 全部。但这只是猜测。 兰迪 Pachydermitis < PR ******* @ gmail.com>在消息中写道新闻:11 ********************** @ g43g2000cwa.googlegr oups.com ... I maybe missing the point here but wont the message box show again as it exists within the FOR loop? It needs to exist here ( I believe) as I only want it show if a mail from a specific sender exists within the Inbox!!! Many thanks, MarkWith that code, if the user selects Yes, then the msgbox would not showagain. Note, that it tests for QuestionAuto before executing. Once the userspresses Yes, QuestionAuto will remain equal to vbYes. If this isn''t the behavior that you wanted, I think you need to explain moreclearly exactly what you want the message box to do. I''m guessing that what you want is 3 choices: Import Yes, Import No, ImportAll. But that''s just a guess. Randy "Pachydermitis" <pr*******@gmail.com> wrote in message news:11**********************@g43g2000cwa.googlegr oups.com... ...将导入但是他们的收件箱中存在很多邮件,而不是每次发现特定邮件时都会提示他们。 。...will import however many mails exist in their Inbox withoutprompting them each time it finds a specific mail. . 如果QuestionAuto<>然后是QuestionAuto = MsgBox(Intake Manager已经在你的收件箱中发现了一封电子邮件...... 一旦他们说是,就不会再问了。 if QuestionAuto <> vbyes then QuestionAuto = MsgBox("Intake Manager has found an email in your Inbox ... Once they say yes, it won''t ask again. 这篇关于想给用户3个选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-24 14:32