espenskeie
Well-known Member
- Joined
- Mar 30, 2009
- Messages
- 636
- Office Version
- 2016
- Platform
- Windows
Hi
Does anyone know how I can get the correct picture size when I add a picture to the body. As you can see I have tried adding some size to the picture, but it didn't help, maybe I did something wrong. Picture is really big. Here's my part of code:
Kind regards
Espen
Does anyone know how I can get the correct picture size when I add a picture to the body. As you can see I have tried adding some size to the picture, but it didn't help, maybe I did something wrong. Picture is really big. Here's my part of code:
Code:
With OutMail
.To = "espen@calk.no" ' OBS!! Legg inn en dummymail her! cell.Value 'Scanner igjennom lista og sender privat mail, en mail pr adresse,
' slik at det ikke er nødvendig med .BCC
.cc = ""
.BCC = RecipientList
.Subject = "Morning notes - " & Stamp & ", Adept Markets"
.Attachments.Add (sFileName) ''' Dette er PDF-fila
.Attachments.Add (sFileName2) ''' Dette er denne excelboka
.Attachments.Add (sFileName1) '''Dette er GIF-fila
.HTMLBody = preStrBody & "src='cid:DailyReport.png'" & postStrBody '& "width='1497' height='8997'>
"
.NoAging = True
' Tallet i parantes forteller hvilken konto du sender fra
.SendUsingAccount = OutApp.Session.Accounts.Item(1)
.Display
End With
Kind regards
Espen
Last edited: