![]() |
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 |
#6
|
|||
|
|||
![]()
Am 19 Jan 2006 06:15:06 -0800 schrieb chimp:
Thanks, now I understand you :-) You do know the fixed file name, you need to know the date, and now you also do know how to join strings. Thatīs all. FileName = "fixed part" & Format(TheDateInQuestion, "yyyymmdd") & ".csv" -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Thank you for your response, Michael. I re-read my initial post and realized I failed to make myself clear concerning the second issue. When our trading system creates the report on a daily basis, it automatically adds the date to the end of the filename. For example, yesterday's reports was named: DestExecDetailsReport20060118.csv Today's reports will be: DestExecDetailsReport20060119.csv My question is how do I reference a report that changes names everyday, and attach it to an email, in my macro? In my test macro, I simply used the static filename of TEST.txt to add that document as an attachment to the generated email: .Attachments.Add "c:\temp\TEST.txt" However, the report I want to automatically attach using a macro changes names everyday. Is there a way to attach that report that changes every day to an email? And if so, I would I reference it in my macro? Thanks again for your help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Suppress Outlook 2000 from automatically retrieving Exchange 2003 Email | Ed_No_Spam_Please_Weber@Weber_Spam_Not_Enterprises.Org | Outlook - General Queries | 2 | March 5th 06 04:01 AM |
How to automatically forward news to an email add?? (plz note that news not email) thanks | [email protected] | Outlook - General Queries | 1 | February 24th 06 01:24 PM |
how can i receive a copy of email i send out - automatically? | Suchi | Outlook - General Queries | 3 | February 16th 06 09:25 AM |
send form or email automatically on a schedule? | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 07:38 PM |
Business Contact Manager won't run reports | vikbob | Outlook - Installation | 0 | January 19th 06 12:53 AM |