![]() |
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 have Outlook 2003 and have written a macro that I use to
attach a data file to an email and send it to a client. I need to rename the datafile before I send it, is there vba I can use to RENAME the file from name.mdb to newname.mdb. It there a www site where I can get a list of the vba commands that can be used ? thanks ... Roger |
Ads |
#2
|
|||
|
|||
![]()
Renaming a file can't be done in VBA AFAIK, but you can use the Microsoft
Scripting Runtime library See the File.Name property. BTW, you can download the Outlook VBA help file he Download details: Office 2003 Editions: Outlook VBA Language Reference: http://www.microsoft.com/downloads/d...DisplayLang=en -- Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "Roger" wrote: I have Outlook 2003 and have written a macro that I use to attach a data file to an email and send it to a client. I need to rename the datafile before I send it, is there vba I can use to RENAME the file from name.mdb to newname.mdb. It there a www site where I can get a list of the vba commands that can be used ? thanks ... Roger |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
using macros in Outlook | Roger | Outlook - General Queries | 1 | September 17th 07 05:43 PM |
Outlook Macros - VB code | Ted Martin | Outlook and VBA | 1 | February 22nd 07 03:30 PM |
Outlook.MAPIFolder, VBA macros | lerneree | Outlook - Using Forms | 0 | September 6th 06 10:18 AM |
Outlook Express and VBA Macros | [email protected] | Outlook and VBA | 5 | August 28th 06 05:29 AM |
Recording Macros in Outlook | ruthie-baby | Outlook - General Queries | 1 | July 13th 06 04:01 PM |