searching for attachments that have a certain "text" in the name

Status
Not open for further replies.
T

thomas donino

Is it possible to search all attachments for a certain word in the attachment

name to move it to another directory? I looked thru the rules but saw nothing

about searching attachment names.
 
J

JP

I'm not clear on what you mean by "directory" -- Outlook uses the term

"folders" to refer to the place where you store emails. Otherwise,

here is how you would check an attachment filename for a matching

string:

If Instr(Attachment.FileName, "your search text") > 0 Then

' move the file

Else

' don't move the file

End If

--JP

On Nov 24, 2:38 pm, thomas donino

<thomasdon...> wrote:
> Is it possible to search all attachments for a certain word in the attachment
> name to move it to another directory? I looked thru the rules but saw nothing
> about searching attachment names.
 
S

Sue Mosher [MVP]

Outlook version?

Sue Mosher

"thomas donino" <thomasdonino> wrote in message

news:81B79BEE-6AE1-4F6B-BB76-B90D23E9B944@microsoft.com...
> Is it possible to search all attachments for a certain word in the
> attachment
> name to move it to another directory? I looked thru the rules but saw
> nothing
> about searching attachment names.
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
V vBA for searching a cell's contents in Outlook and retrieving the subject line Outlook VBA and Custom Forms 1
geoffnoakes Outlook 2016 Searching based on CreationTime Using Outlook 3
P Searching tasks that are archived Using Outlook 4
M Outlook 365 Searching all shared calendars Outlook VBA and Custom Forms 4
O Searching for Custom Flags Using Outlook 3
B Searching for a Add-In Using Outlook 3
J Searching message folder in Outlook 2016 Using Outlook 5
R Problem with searching public folders Exchange 2013/16 Exchange Server Administration 2
C Outlook 2016: Searching in all (+public) folders Outlook VBA and Custom Forms 9
Diane Poremsky Searching for Outlook Items in Windows New Slipstick.com Articles 0
M Searching multiple folders Using Outlook 6
W Searching Flagged Email Outlook 2013 Using Outlook 1
E Searching a Shared Outlook Mailbox from the start menu? Using Outlook 4
Rijotech Fast searching from:name and date Using Outlook 3
S Searching contacts across GAL and local address book at same time Using Outlook 1
A Searching for text in Contact notes Using Outlook 2
M Searching for categories not in the master category list Using Outlook 3
P Searching By Contact Categories Using Outlook 0
B Searching OWA Additional Mailbox - in which Secondary folder is the email? Using Outlook 1
R searching a not function Using Outlook 2
R Searching emails sent/recieved on a specific date. Using Outlook 2
M Searching Outllook 2010 shared contacts from Outlook 2007 Using Outlook 4
G CTRL-E is not searching I-cloud contacts Using Outlook 2
M Jolly characters in Outlook 2007 searching Using Outlook 3
E Does Outlook 2010 support searching multiple .pst files simultaneously? Using Outlook 0
D searching Outlook 2010 Calendar Using Outlook 1
X outlook 2007 error when searching Using Outlook 7
D Searching for Data in a custom form Outlook VBA and Custom Forms 1
L Macro/VBA to Reply All, with the original attachments Outlook VBA and Custom Forms 2
A Attachments.Delete Outlook VBA and Custom Forms 3
M Deleting attachments does not reduce file size Using Outlook 0
L unblocking attachments before sending Office 365 Advanced Protection Using Outlook 0
I Saving attachments from multiple emails and updating file name Outlook VBA and Custom Forms 0
R Use an ItemAdd to Save Attachments on Arrival Outlook VBA and Custom Forms 0
shrydvd vba to secure zip attachments Outlook VBA and Custom Forms 3
R fetching blocked attachments Outlook VBA and Custom Forms 0
H Outlook 2016 sent over 30 copies of an e-mail with attachments Using Outlook 1
W Automatically open attachments without automatically printing them Using Outlook 0
O Save attachments using hotkey without changing attributes Outlook VBA and Custom Forms 1
T Outlook converts sent email to txt attachments when sync Using Outlook 0
Nadine Rule to move attachments with specific name Outlook VBA and Custom Forms 1
R Outlook is NOT removing attachments. Using Outlook 4
Dan_W Nested email attachments Outlook VBA and Custom Forms 4
M Print email and, attachments sent in hyperlinks in the email Outlook VBA and Custom Forms 2
W Save and rename outlook email attachments to include domain name & date received Outlook VBA and Custom Forms 4
S DRAGGING MAIL AND ATTACHMENTS TO CALENDAR Using Outlook 1
D Print attachments automatically and moves the mail to a new folder Outlook VBA and Custom Forms 9
G Download pdf attachments only if email subject has one of words Outlook VBA and Custom Forms 8
D Saving Selected Emails as PDF and saving Attachments Outlook VBA and Custom Forms 6
R Quick Access view in File Explorer when saving attachments Using Outlook 0

Similar threads

Top