我正在尝试从工作表中获取 PrintScreen,然后将其粘贴到新电子邮件中。
我希望它在身体中而不是作为附件。我不知道如何将图像粘贴到正文中。
Sub SetRecipients()
Dim aOutlook As Object
Dim aEmail As Object
Dim rngeAddresses As Range, rngeCell As Range, strRecipients As String
Application.SendKeys "(%{1068})"
DoEvents
Set aOutlook = CreateObject("Outlook.Application")
Set aEmail = aOutlook.CreateItem(0)
Set rngeAddresses = ActiveSheet.Range("A3:A13")
For Each rngeCell In rngeAddresses.Cells
strRecipients = "email.test@gmail.com" 'strRecipients & ";" & rngeCell.Value
Next
aEmail.Subject = "Indicator activity warning ( TestMailSend )"
aEmail.Body = ********* DONT KNOW *******
aEmail.To = strRecipients
aEmail.Send
End Sub