Excel:运行时错误'-2147319779(8002801d)':

时间:2017-09-05 13:54:56

标签: excel vba email automation

我突然得到错误: 运行时错误'-2147319779(8002801d)': object'_Worksheet'的方法'MailEnvelope'失败

当我运行以下代码时:

Range("A1:E100").Select
ActiveWorkbook.EnvelopeVisible = True         ' Show the envelope on the ActiveWorkbook.     
With ActiveSheet.MailEnvelope     '<--------    Errors on this line
     .Introduction = [t_BodyText]
     .Item.To = [t_SendTo]
     .Item.CC = [t_SendCC]
     .Item.Subject = [t_SubjectLine]
     .Item.Send
End With

在我的研究中,我得到“未注册的DLL文件”但从未得到任何DLL文件未注册的指示。

当企业将“Lync”升级为“Skype for Business”时,会出现此问题。

我得到了“你需要重新安装你的办公室组件”(我做了但没有解决方案)重建你的窗户(不会这样做......)

我确实发现另一个人有同样的问题,但无法对他们的决议做出回应。

任何帮助将不胜感激。 史蒂夫

0 个答案:

没有答案