【发布时间】:2015-09-05 09:05:25
【问题描述】:
我需要设置路径,以便可以在任何桌面上打开。
这是我目前的代码:
Dim myOlApp As Outlook.Application
Dim myitem As Outlook.MailItem
Dim n As Integer
Set myOlApp = CreateObject("Outlook.Application")
Set myitem = myOlApp.CreateItemFromTemplate("C:\Users\User\documents\Template.msg")
With myitem
For n = 0 To Me.EmailList.ListCount - 1
.Attachments.Add (Me.EmailList.ItemData(n))
Next n
myitem.Subject = Nz("")
myitem.To = Nz(Me.txtCustomerEmailAddress1)
myitem.Display
【问题讨论】:
-
在任何桌面世界/公司/网络范围内打开?
-
公司或网络会有所帮助,谢谢