Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2023, 06:53 AM
JamesMWood JamesMWood is offline Rename attachment in draft email Windows 10 Rename attachment in draft email Office 2021
Novice
Rename attachment in draft email
 
Join Date: May 2022
Posts: 25
JamesMWood is on a distinguished road
Default

Quote:
Originally Posted by gmayor View Post
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.
Ahhh I understand, I'll give that a shot. Thanks very much, you are really generous with your time and knowledge, it's appreciated.
Reply With Quote
Reply

Tags
attachments, rename



Similar Threads
Thread Thread Starter Forum Replies Last Post
Rename attachment in draft email Rename attachment based on attachment name AndyDDUK Outlook 1 03-01-2017 07:32 AM
Rename attachment based on attachment name AndyDDUK Outlook 1 03-01-2017 07:31 AM
Rename attachment in draft email Rename docm to value from checkbox, convert to .pdf, email, delete Lortiz70 Word VBA 1 01-19-2017 02:48 AM
Email sends mailmerge file behind email rather than attachment TLC1974 Mail Merge 2 07-22-2016 12:53 AM
Rename attachment in draft email email as pdf attachment - subject line and attachment named after mail merge Nexus Mail Merge 12 04-13-2011 11:34 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:35 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft