Files accumulation? Where?

ChuckDrago

Active Member
Joined
Sep 7, 2007
Messages
470
Office Version
  1. 2010
Platform
  1. Windows
Hi everyone!
I have a macro that opens up a template (e.g. MyTemp.xlt), the user fills in data and then clicks a Send button, which shoots an e-mail with the file attached. Now, the filename is not MyTemp.xlt anymore... now it is MyTemp1.xls (which I interpret as a means to retain the template blank, as intended).
I have been testing this macro for enhancements and optimization, when I noticed that the name of the last attachment was MyTemp1(23)(2).xls. Woooaa!...
What does that mean? Are there 23 + 2 copies somewhere in my computer??? Or in the Outlook server??? Should I use a Kill statement, after the e-mailing?
Not pressing, but interesting...
Chuck
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

ChuckDrago

Active Member
Joined
Sep 7, 2007
Messages
470
Office Version
  1. 2010
Platform
  1. Windows
Eventually found them in the OLK2E Temporary Internet files folder from Outlook.
Never mind. Just added a kill statement and it seems to eliminate the accumulation.
 
Upvote 0

Forum statistics

Threads
1,190,781
Messages
5,982,873
Members
439,803
Latest member
sushilneupane

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
Top