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

Wanting to move lots of outlook email, using excel as my "processor" to control where the email should be moved to



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 14th 07, 12:14 AM posted to microsoft.public.outlook.program_forms,microsoft.public.outlook.program_vba
Mctabish
external usenet poster
 
Posts: 2
Default Wanting to move lots of outlook email, using excel as my "processor" to control where the email should be moved to

Is there a way, based on exported email, to id the message it was exported
from?

I would like to create a macro in excel, that would move emails from xfolder
to yfolder after sorting based on several different situations? I have many
years of emails I would like to batch process, and instead of reading each
email, I would like to sort based on where I worked (if through a work
account), what the product it was regarding (based on subject "contains" )
How many emails from or to a given address (should it require its own
folder - typically, if I get email that are not filtered out by the above,
if I receive 20 or more emails, I create its own folder)

So I have the need and desire to process the email in excel, but I do not
want to export and then process and IMPORT back into outlook. I just want to
use excel as a "processor" for moving the email. I want to keep the email
intact with all original formatting, attachments timestamps etc.


Here is my ideal situation

I export messages to excel, with the original folder in a column, then based
on certain conditions I either manually or automatically fill in NewFolder,
then I run a macro that would look in OrigFolder, find messageX, and then
MOVE that message to NewFolder

There are several things that appear to me to start with (besides my
ignorance with Outlook VBA), there are no guaranteed unique fields.
Is there a unique id for each email? I don't even see date and time stamp
when exporting. I could use SENDER and a date and time stamp to ID a
specific message, but those fields are not present.
If there is a way to id a specific message, how would I code the rest of
this?

Ikinda know excel VBA, but I don't know how to do any of the email stuff...

I am using office 2003

Thanks,
Mc



  #2  
Old April 16th 07, 06:56 AM posted to microsoft.public.outlook.program_forms,microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Wanting to move lots of outlook email, using excel as my "processor" to control where the email should be moved to



Write the code to export yourself and export the messages' EntryID and their
folders' StoreID properties as well.

After you have moved a message its EntryID might change. But as far as I
unuderstand you that would be ok.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:
http://www.vboffice.net/product.html...&lang=en&pub=6

Am Fri, 13 Apr 2007 15:14:16 -0700 schrieb Mctabish:

Is there a way, based on exported email, to id the message it was exported
from?

I would like to create a macro in excel, that would move emails from

xfolder
to yfolder after sorting based on several different situations? I have

many
years of emails I would like to batch process, and instead of reading each
email, I would like to sort based on where I worked (if through a work
account), what the product it was regarding (based on subject "contains" )
How many emails from or to a given address (should it require its own
folder - typically, if I get email that are not filtered out by the above,
if I receive 20 or more emails, I create its own folder)

So I have the need and desire to process the email in excel, but I do not
want to export and then process and IMPORT back into outlook. I just want

to
use excel as a "processor" for moving the email. I want to keep the email
intact with all original formatting, attachments timestamps etc.


Here is my ideal situation

I export messages to excel, with the original folder in a column, then

based
on certain conditions I either manually or automatically fill in

NewFolder,
then I run a macro that would look in OrigFolder, find messageX, and then
MOVE that message to NewFolder

There are several things that appear to me to start with (besides my
ignorance with Outlook VBA), there are no guaranteed unique fields.
Is there a unique id for each email? I don't even see date and time stamp
when exporting. I could use SENDER and a date and time stamp to ID a
specific message, but those fields are not present.
If there is a way to id a specific message, how would I code the rest of
this?

Ikinda know excel VBA, but I don't know how to do any of the email

stuff...

I am using office 2003

Thanks,
Mc

  #3  
Old April 18th 07, 10:28 PM posted to microsoft.public.outlook.program_vba
Frank
external usenet poster
 
Posts: 2
Default Wanting to move lots of outlook email, using excel as my "processor" to control where the email should be moved to

indeed, the EntryID is not unique. When you copy or move an email, the
ID changes!
Sendername and date/time should be unique, because one sender can only
sent one email at one moment..
I think MailToFile (www.mailtofile.com) will help you archiving all
email into an excel, access or csv file. In that case you have
information about all email.
But, how to find the email again in your Outlook. I think that's the
biggest problem. After moving an email to another folder in Outlook,
it can only be found again by searching all folders and check on your
own defined ID. This is not very neat.
Using mailtofile will archive your email to a directory, using the
same folders as you named in Outlook.
I don't see a solution for your rules, like moving mails in case you
receive 20 or more emails from one recepient.
I would like to suggest: choose the folders (or directories) yourself
and just collect all information about the email. In fact, you could
even archive all email in one folder, having a good database
containing all e-mail information..
I hope this will help you.


Michael Bauer [MVP - Outlook] schreef:
Write the code to export yourself and export the messages' EntryID and their
folders' StoreID properties as well.

After you have moved a message its EntryID might change. But as far as I
unuderstand you that would be ok.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:
http://www.vboffice.net/product.html...&lang=en&pub=6

Am Fri, 13 Apr 2007 15:14:16 -0700 schrieb Mctabish:

Is there a way, based on exported email, to id the message it was exported
from?

I would like to create a macro in excel, that would move emails from

xfolder
to yfolder after sorting based on several different situations? I have

many
years of emails I would like to batch process, and instead of reading each
email, I would like to sort based on where I worked (if through a work
account), what the product it was regarding (based on subject "contains" )
How many emails from or to a given address (should it require its own
folder - typically, if I get email that are not filtered out by the above,
if I receive 20 or more emails, I create its own folder)

So I have the need and desire to process the email in excel, but I do not
want to export and then process and IMPORT back into outlook. I just want

to
use excel as a "processor" for moving the email. I want to keep the email
intact with all original formatting, attachments timestamps etc.


Here is my ideal situation

I export messages to excel, with the original folder in a column, then

based
on certain conditions I either manually or automatically fill in

NewFolder,
then I run a macro that would look in OrigFolder, find messageX, and then
MOVE that message to NewFolder

There are several things that appear to me to start with (besides my
ignorance with Outlook VBA), there are no guaranteed unique fields.
Is there a unique id for each email? I don't even see date and time stamp
when exporting. I could use SENDER and a date and time stamp to ID a
specific message, but those fields are not present.
If there is a way to id a specific message, how would I code the rest of
this?

Ikinda know excel VBA, but I don't know how to do any of the email

stuff...

I am using office 2003

Thanks,
Mc


  #4  
Old April 19th 07, 07:39 AM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Wanting to move lots of outlook email, using excel as my "processor" to control where the email should be moved to


Frank, whether the mentioned tool would help 'Mc' or not is hard to say. It
seems that they first request for one's e-mail address before they (you?)
disclose any information about the tool. From my point of view that's no
good practice - and for me a no-go.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:
http://www.vboffice.net/product.html...&lang=en&pub=6


Am 18 Apr 2007 13:28:41 -0700 schrieb Frank:

indeed, the EntryID is not unique. When you copy or move an email, the
ID changes!
Sendername and date/time should be unique, because one sender can only
sent one email at one moment..
I think MailToFile (www.mailtofile.com) will help you archiving all
email into an excel, access or csv file. In that case you have
information about all email.
But, how to find the email again in your Outlook. I think that's the
biggest problem. After moving an email to another folder in Outlook,
it can only be found again by searching all folders and check on your
own defined ID. This is not very neat.
Using mailtofile will archive your email to a directory, using the
same folders as you named in Outlook.
I don't see a solution for your rules, like moving mails in case you
receive 20 or more emails from one recepient.
I would like to suggest: choose the folders (or directories) yourself
and just collect all information about the email. In fact, you could
even archive all email in one folder, having a good database
containing all e-mail information..
I hope this will help you.


Michael Bauer [MVP - Outlook] schreef:
Write the code to export yourself and export the messages' EntryID and

their
folders' StoreID properties as well.

After you have moved a message its EntryID might change. But as far as I
unuderstand you that would be ok.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Quick-Cats - Categorize Outlook data:

http://www.vboffice.net/product.html...&lang=en&pub=6

Am Fri, 13 Apr 2007 15:14:16 -0700 schrieb Mctabish:

Is there a way, based on exported email, to id the message it was

exported
from?

I would like to create a macro in excel, that would move emails from

xfolder
to yfolder after sorting based on several different situations? I have

many
years of emails I would like to batch process, and instead of reading

each
email, I would like to sort based on where I worked (if through a work
account), what the product it was regarding (based on subject "contains"

)
How many emails from or to a given address (should it require its own
folder - typically, if I get email that are not filtered out by the

above,
if I receive 20 or more emails, I create its own folder)

So I have the need and desire to process the email in excel, but I do

not
want to export and then process and IMPORT back into outlook. I just

want
to
use excel as a "processor" for moving the email. I want to keep the

email
intact with all original formatting, attachments timestamps etc.


Here is my ideal situation

I export messages to excel, with the original folder in a column, then

based
on certain conditions I either manually or automatically fill in

NewFolder,
then I run a macro that would look in OrigFolder, find messageX, and

then
MOVE that message to NewFolder

There are several things that appear to me to start with (besides my
ignorance with Outlook VBA), there are no guaranteed unique fields.
Is there a unique id for each email? I don't even see date and time

stamp
when exporting. I could use SENDER and a date and time stamp to ID a
specific message, but those fields are not present.
If there is a way to id a specific message, how would I code the rest of
this?

Ikinda know excel VBA, but I don't know how to do any of the email

stuff...

I am using office 2003

Thanks,
Mc

 




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
Outlook 2007: IMAP - "Delete" vs "Move to Trash" 1001001100100 Outlook - General Queries 2 April 12th 07 05:41 AM
Control with the same behavior as "Type a question for help" or "Find contact" [email protected] Add-ins for Outlook 0 March 2nd 07 02:54 PM
Can't move an email message that's already been moved: OL 2003 [email protected] Outlook - General Queries 2 December 31st 06 11:53 PM
change incoming email attachment default to "open" vs "save as" conroy Outlook - General Queries 1 December 12th 06 02:58 AM
Microsoft outlook 2003 keep wanting to install "MS outlook feature" [email protected] Outlook - General Queries 0 June 5th 06 03:55 PM


All times are GMT +1. The time now is 11:26 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.