![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I would like to utilize a picture phone so my technicians can take photos, of
their completed work, and send them via e-mail back to my local office. Because of the large number of techs and the size of the pics. I would write a rule for each or create their own e-mail address on our servers so each one has their own folder to save to. I would than write a macro to delete all pics at the end of the day or every couple of days depending on storage space. But what I can't figure out is how to automate the process of pulling the .jpg file out of the e-mail and sending it to an Excel file with the ability to open the pic in Excel using some sort of object handler or another application link. |
Ads |
#2
|
|||
|
|||
![]()
Am Sat, 7 Jan 2006 17:33:02 -0800 schrieb Tomkat743:
First you need to save the the attachment as a file (call its SaveAsFile method). Excel isnīt able to open a jpg directly but you can add it as a Shape, e.g. (assuming that ws has a ref on a Worksheet already): Sub test() Dim ws As Worksheet Dim sh As Shapes Dim picsh As Shape Dim file As String file = "D:\CIMG0787.JPG" Set sh = ws.Shapes Set picsh = sh.AddPicture(file, msoFalse, msoTrue, 1, 1, 100, 100) End Sub -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook I would like to utilize a picture phone so my technicians can take photos, of their completed work, and send them via e-mail back to my local office. Because of the large number of techs and the size of the pics. I would write a rule for each or create their own e-mail address on our servers so each one has their own folder to save to. I would than write a macro to delete all pics at the end of the day or every couple of days depending on storage space. But what I can't figure out is how to automate the process of pulling the .jpg file out of the e-mail and sending it to an Excel file with the ability to open the pic in Excel using some sort of object handler or another application link. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
e-mail picture downloads | hargold | Outlook - General Queries | 1 | March 3rd 06 07:29 PM |
Can't insert picture into email | cavuu | Outlook - General Queries | 1 | February 20th 06 12:30 AM |
Can't insert picture into email | cavuu | Outlook - General Queries | 0 | February 16th 06 02:48 AM |
Animated Picture | NoushadTK | Outlook - General Queries | 1 | January 24th 06 01:57 PM |
Include PictureFormatHTML send picture will not remain checked | JimM | Outlook Express | 3 | January 9th 06 03:12 AM |