View Single Post
 
Old 01-30-2023, 06:02 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Normally signature images are in the format "image001.jpg" which the line
Code:
If Not sName Like "image*.jpg" Then
should omit. If your images are in a different format then you can use a similar statement to omit those, or if your attachments are in a particular format e.g. *.docx or *.xlsx then you could change the line to (say)
Code:
If sName Like "*.docx" Or sName Like "*.xlsx" Then
or whatever fits your requirements to process just those attachment formats.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote