A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to use macros in Outlook?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 17th 07, 08:12 AM posted to microsoft.public.outlook.program_vba
Roger
external usenet poster
 
Posts: 5
Default How to use macros in Outlook?

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  
Old September 17th 07, 04:52 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default How to use macros in Outlook?

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:01 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.