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.
 
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.
 
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
M Short term workaround for when Outlook searching stopped functioning Using Outlook 0
P How to add a column named categories when searching in Outlook Using Outlook 0
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 Using Outlook 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 Outlook attachments from OneDrive as links Using Outlook 0
G Print email attachments when hit subfolder Outlook VBA and Custom Forms 1
R Saving Emails and Attachments as .msg file Using Outlook 3
KurtLass Opening Graphics Attachments in Outlook 2021 Using Outlook 0
F Outlook 2016 Email with attachments not being received Using Outlook 2
Commodore PDF attachments started to open in Edge Using Outlook 0
T Outlook 2021 Cannot open attachments Outlook DeskTop 2021 Using Outlook 0
D ISOmacro to extract active mail senders name and email, CC, Subject line, and filename of attachments and import them into premade excel spread sheet Outlook VBA and Custom Forms 2
Witzker Outlook 2019 Macro to answer a mail with attachments Outlook VBA and Custom Forms 2
P Print attachments automatically and move the mail to an existing folder called "Ted" Outlook VBA and Custom Forms 4
G Schedule recurring email and attachments display Outlook VBA and Custom Forms 3
G Save and Rename Outlook Email Attachments Outlook VBA and Custom Forms 0
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

Similar threads

Back
Top