Which Location to save an Outlook Excel Attachment?

Julesdude

Board Regular
Joined
Jan 24, 2010
Messages
197
Hi there everyone,

I have a worksheet macro (embedded in the worksheet object) that is triggered when the user double clicks in a particular cell. This actions the emailing of that sheet, with the macro still contained inside when it is received by the recipient so that it can work their end.

When the recipient receives the worksheet, the macro allows them to double click to email it back to me.

The trouble is that they can't do this without first saving their Outlook attachment first to a location because an error message comes up saying it is a read only file. So they can't click in the attachment in Outlook, add a couple of things and use the email back function whilst still in the attachment. Unfortunately they have to save it somewhere first and then go into it.

Using work computers, security is rather high here so a file cannot be automatically saved simply to C, it has to go through personalised user named folders where you can dump files. Is there a generic folder location in Outlook 2007 where a file can be saved so that then an email can be fired using the location of the Workbook when generating the attachment?

Code I am using for automatic email is


With ActiveWorkbook
.SendMail Recipients:=EmailRecipient, Subject:=EmailSubject
.Close SaveChanges:=False
End With
 
Last edited:

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,224,527
Messages
6,179,328
Members
452,907
Latest member
Roland Deschain

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top