viewing older questions on this site I was able to locate the code I required, but I was unsuccessful in changing the image's dimensions (height and width). Can you assist me?
Sub SendEmail()
'Open a new mail item
Set outlookApp = CreateObject("Outlook.Application")
Set OutMail = outlookApp.CreateItem(olMailItem)
With OutMail
.To = ""
.Subject = "** Please confirm Timesheet by 10:30AM **"
.Importance = olImportanceHigh
.Display
End With
'Get its Word editor
Set wordDoc = OutMail.GetInspector.WordEditor
'To paste as picture
rng.Copy
wordDoc.Range.PasteSpecial , , , , wdPasteBitmap
OutMail.HTMLBody = "Timesheets Submitted by " & "Marco" & "<br>" & _
vbNewLine & OutMail.HTMLBody
End Sub
I tried to create some commands to resize the image size but without success.