Advanced outlook trick: help needed!

Status
Not open for further replies.
J

Jon C

I need outlook to automatically move all messages with a particular subject into a network folder.

Easy enough...

Problem: Say I send, they reply, I send, they reply.. and multiple versions of the same message are created and dropped into this network folder.

I need a some type of trick/methodology to replace the previous message with the most current email in this network folder. while deleting or moving the old messages out of the network folder. .
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
If the subject is equal, there's nothing to do as an existing file gets

overwritten.

Best regards

Michael Bauer

Am Fri, 21 Aug 2009 01:34:30 -0400 schrieb Jon C:


> I need outlook to automatically move all messages with a particular


subject into a network folder.

> Easy enough...

> Problem: Say I send, they reply, I send, they reply.. and multiple


versions of the same message are created and dropped into this network

folder.

> I need a some type of trick/methodology to replace the previous message


with the most current email in this network folder. while deleting or moving

the old messages out of the network folder. .
>
 
W

Wilfried

"Michael Bauer " <mb@mvps.org> wrote:

> If the subject is equal, there's nothing to do as an existing file gets
> overwritten.


Overwriting an existing file can be avoided by testing its existence

Dim myFID As String

Set myFS = CreateObject("Scripting.FileSystemObject")

> ..

myFID = ...

> ..

If myFS.FileExists(myFID) ...

but how can "the most current email" be detected?

Wilfried


> Am Fri, 21 Aug 2009 01:34:30 -0400 schrieb Jon C:
>
> > I need outlook to automatically move all messages with a particular

> subject into a network folder.
> > Easy enough...
> > Problem: Say I send, they reply, I send, they reply.. and multiple

> versions of the same message are created and dropped into this network
> folder.
> > I need a some type of trick/methodology to replace the previous message

> with the most current email in this network folder. while deleting or moving
> the old messages out of the network folder. .
> >
 

Michael Bauer

Senior Member
Outlook version
Outlook 2010 32 bit
Email Account
Exchange Server
Sort the Items collection by ReceivedTime.

Best regards

Michael Bauer

Am Fri, 21 Aug 2009 13:15:42 +0200 schrieb Wilfried:


> "Michael Bauer " <mb@mvps.org> wrote:
>

>> If the subject is equal, there's nothing to do as an existing file gets
> > overwritten.


> Overwriting an existing file can be avoided by testing its existence

> Dim myFID As String
> Set myFS = CreateObject("Scripting.FileSystemObject")
> ...
> myFID = ...
> ...
> If myFS.FileExists(myFID) ...

> but how can "the most current email" be detected?

> Wilfried
>
> > Am Fri, 21 Aug 2009 01:34:30 -0400 schrieb Jon C:
> >
> >> I need outlook to automatically move all messages with a particular

> > subject into a network folder.
> >
>>> Easy enough...
> >
>>> Problem: Say I send, they reply, I send, they reply.. and multiple

> > versions of the same message are created and dropped into this network
> > folder.
> >
>>> I need a some type of trick/methodology to replace the previous message

> > with the most current email in this network folder. while deleting or


moving
> > the old messages out of the network folder. .
> >>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
mll persistently customise columns in outlook advanced search Using Outlook 3
R Outlook for Mac - Advanced Search and Tracking Sent Emails Using Outlook 0
B Advanced Search in MS Outlook by VBA and SQL Outlook VBA and Custom Forms 2
P Outlook Advanced Find Using Outlook 0
N Outlook 2010 crippled Advanced Find, now what? Using Outlook 3
H Outlook 2010 Advanced Find - Menu items missing Using Outlook 1
D Outlook 2010 - Advanced Find - No Status Bar = No Item Count Using Outlook 2
A Outlook Advanced Search Problems...returns with an Error: Argument Outlook VBA and Custom Forms 1
T Outlook 2007 Indexing Options and Advanced Search options disabled Using Outlook 5
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2
D Advanced e-Mail search on from/to contact group only searches for first 20 contacts in group Using Outlook 0
O Advanced search - can I use booleans Using Outlook 3
M Sorting by Day in Date Column Advanced Filter BCM (Business Contact Manager) 1
L unblocking attachments before sending Office 365 Advanced Protection Using Outlook 0
N Disable Auto Read Receipts sent after using Advanced Find Using Outlook 4
H "Advanced find: column for full folder path? Using Outlook 1
skylark53 Advanced recurrence problem Using Outlook 2
D Advanced Search Question Using Outlook 1
B Printing Advanced Search Output Screen Using Outlook 5
Andrew Hawkins "Advanced Find" Using Outlook 1
A Advanced find query facilty Help please Using Outlook 2
S Advanced Find text field limits Using Outlook 2
C O2010: Using Advanced Find to locate exact queries Using Outlook 3
V Advanced Find - [Today]-3 ? Using Outlook 4
J How to filter by address fragment (e.g. "@domain.com") with advanced find? Using Outlook 2
L How to customize the Advanced Find form Outlook VBA and Custom Forms 1
P Open Advanced Search Dialog Outlook VBA and Custom Forms 1
D Re: How to customize the Advanced Find form Outlook VBA and Custom Forms 1
S Programmatically bring up Advanced Find for contacts? Outlook VBA and Custom Forms 1
KurtLass Opening Graphics Attachments in Outlook 2021 Using Outlook 0
P now on office 365 but getting error messages about missing Outlook 2013 cache folders Using Outlook 2
B Outlook config download Outlook VBA and Custom Forms 1
M Short term workaround for when Outlook searching stopped functioning Using Outlook 0
D Outlook 2016 Creating an outlook Macro to select and approve Outlook VBA and Custom Forms 0
L Fetch, edit and forward an email with VBA outlook Outlook VBA and Custom Forms 2
BartH VBA no longer working in Outlook Outlook VBA and Custom Forms 1
L Synch Outlook 365 calendar with iPhone Using Outlook 0
W Can vba(for outlook) do these 2 things or not? Outlook VBA and Custom Forms 2
S Outlook 2016 and Acrobat PDFMaker Office COM Addin Using Outlook 0
M "Attachment Detacher for Outlook" add in, does it update the server copy of the email? Using Outlook 1
M Outlook 365 Rename Outlook Priority Using Outlook 3
R Outlook 2019 accesses POP3 but says its offline (because of IMAP servers?) Using Outlook 0
R Outlook Working off line Using Outlook 0
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
W Outlook 2016 MSI - Possible to make work with O365 modern Auth & Win7? Using Outlook 4
T Outlook roaming signatures Using Outlook 4
S Adding a recipient's column to Sent folder in Outlook 2010 Outlook VBA and Custom Forms 1
J Outlook search bar in Office 2021 Professional Using Outlook 1
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
C How to fix outlook continuing to prompt fo an Exchange password Using Outlook 0

Similar threads

Top