I Outlook 2002 kan man sætte et object fra en fil ind i en mail, og det vil jeg gerne gøre i Visual Basic. Har prøvet med f.eks. attachments.add men det giver mig kun filen og ikke selve objektet i filen. Jeg kan gøre det i Word 2002 med Selection.InlineShapes.AddPicture, men det vil Outlook ikke bruge.
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
Yes, an object is just a file - I mean that I have a picture in a flag.bmp file that I want to insert in a Mail. I want to show the picture in the mail, not just as an attachment. I can do it manually using the menu: Insert, Object, Selcet "Create from file" and then browse to the file. This works fine but I need the same picture many times, so it would be easier to use a macro/visual basic to do it.
nordana>I've had a play around with this and dont seem to be able to get it to work. I think your on the right track using Selection.InlineShapes.AddPicture but Outlooks object model isnt very logical, so its not easy to find the correct syntax! If you do find a solution then can you show it here as I'm sure others can use it too, thanks.
Hope you do too, can you drop a comment if you do? Thanks Terry
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.