Results 1 to 26 of 26

attach a file automatically to outlook email

Threaded View

  1. #1
    Forum Contributor
    Join Date
    01-06-2019
    Location
    Australia
    MS-Off Ver
    2019
    Posts
    209

    attach a file automatically to outlook email

    Hello, I have tried to add a file as an attachment. I have the path and want part of the file name to be from column B in a excel spreadsheet.7

    Only part of the filename to be searched for and then all files with that data from column B in their filename attached to the email.
    In column B it wold be a 5 digit number re.g 41532 and the filename would start T41532

    .attachment.Add ("C:\mypath\" & Sheets("Estimate").Range("B" & CustRow).pdf)
    Thank you or any help provided
    Last edited by UltimateNeo; 09-28-2019 at 03:39 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Using .attachments.add to attach an excel file to an outlook email
    By mirandajean in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-19-2017, 11:48 AM
  2. [SOLVED] Problem with VBA code to attach file to email using a pre saved Outlook template
    By Wooltrain in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2017, 08:28 PM
  3. attach file in an outlook email from specific folder
    By 9599lorenzo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2017, 07:07 AM
  4. Attach new excel automatically with file format change through outlook
    By Ravipoojari in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-30-2015, 09:07 AM
  5. [SOLVED] Macro to attach an additional file to and outlook email
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-18-2014, 01:27 PM
  6. Zip file and attach to email automatically
    By mhart210 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-26-2006, 01:29 PM
  7. Automatically attach Excel spreadsheet to Outlook Email with Macro?
    By nbaj2k in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-01-2006, 11:45 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1