Excel VBA - Email Does not Send When Computer is Locked

前端 未结 3 624
囚心锁ツ
囚心锁ツ 2020-12-01 15:09

I\'m having problems sending outlook emails using Excel VBA. I have the code to do it - Sendupdate - and it works fine when I manually run the macro. My second

3条回答
  •  半阙折子戏
    2020-12-01 15:22

    SendKeys is likely the culprit. I still use CDO to send emails via Excel VBA. This should get you started: http://www.rondebruin.nl/cdo.htm

提交回复
热议问题