【问题标题】:Outlook macro to check end of the month and weekends用于检查月底和周末的 Outlook 宏
【发布时间】:2013-12-02 10:21:55
【问题描述】:

我们有一个 Outlook 宏,可以从周一到周五向用户发送报告。

但是现在他们要求一个要求,如果月底是星期六或星期日,那么报告也应该发送。

有没有什么方法可以在一条语句中实现,而无需编写单独的函数

【问题讨论】:

    标签: excel vba outlook


    【解决方案1】:

    我会使用类似的东西

    if month(now()+1) <> month(now()) then sendthereport
    

    但知道你的代码后发布特定答案会更容易......

    最大

    【讨论】:

      猜你喜欢
      • 2021-09-14
      • 2022-08-20
      • 2019-08-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-23
      • 2016-05-16
      相关资源
      最近更新 更多