我有下面的代码来发送自动邮件时,我的数据库中的一些元素即将结束(2个月前的结束日期),但我希望邮件发送一周一次,有没有可能?我该怎么做呢?感谢您的建议 Dim Desti As String, Objet As String, Corps As String, olApp As ObjectDim Sh As Worksheet, Chaine As String, Lig As Integer, Alerte
Set olApp = CreateObject("Ou
我刚刚开始使用VBA创建和更新excel工作簿。我在互联网上找到了一些代码,用于打开和更新现有的工作簿和工作表。就像我说的,我是个新手。这段代码有意义吗?我只需要知道如何打开现有的工作簿,而我找到的所有示例在我们的environment.Thanks中都不起作用,因此我需要得到任何帮助 Set xlApp = CreateObject("Excel.Application")
我试图实现PageSetup类.PageSetup.RightMargin=0.5 'executes okay.PageSetup.Orientation = xlLandscape 'throws an error错误:Unable to set the PaperSize property of the PageSetup