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

Copy folder name for new email



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 5th 06, 02:29 PM posted to microsoft.public.outlook.program_vba
PDan
external usenet poster
 
Posts: 1
Default Copy folder name for new email

I've only recorded macros in excel and edited them afterwards so I'm a bit
limited. I'd like to create a macro that would automatically enter a folder
name in the subject line of a new email. I have about 100 project folders
that are named with a project number and name. Having this information in the
subject line of an email is very important to me, so when I start a new email
I right click on a project folder, pick Rename, hit Ctrl-C, click the subject
line of the new email, hit Ctrl-V, type in a dash and then enter my subject.
It would be great if a new email would propt me to select a folder...
Thanks in advance for any help on this subject.
Ads
  #2  
Old December 6th 06, 06:17 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Copy folder name for new email


You can create a procedure that calls the Pickfolder function. If it returns
an object then write its name into
Application.ActiveInspector.CurrentItem.Subject.

Make that procedure Public, then you can create a button on your e-mail's
toolbar for it.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --

Am Tue, 5 Dec 2006 06:29:01 -0800 schrieb PDan:

I've only recorded macros in excel and edited them afterwards so I'm a bit
limited. I'd like to create a macro that would automatically enter a

folder
name in the subject line of a new email. I have about 100 project folders
that are named with a project number and name. Having this information in

the
subject line of an email is very important to me, so when I start a new

email
I right click on a project folder, pick Rename, hit Ctrl-C, click the

subject
line of the new email, hit Ctrl-V, type in a dash and then enter my

subject.
It would be great if a new email would propt me to select a folder...
Thanks in advance for any help on this subject.

 




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
Copy email from local folder to public folder Andrew Outlook and VBA 0 November 16th 06 09:29 AM
Newbie question: How to copy an email item from inbox to a folder Marceepoo Outlook and VBA 1 November 1st 06 06:54 PM
Copy mail item to one folder and then move it to another folder LDMueller Outlook - Using Forms 1 September 15th 06 03:15 PM
After Sending Email: Save Copy of Message to Windows Folder Ben Outlook and VBA 1 March 25th 06 07:17 AM
Send an email copy to folder [email protected] Outlook - General Queries 3 February 16th 06 02:44 PM


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


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