+ Reply to Thread
Results 1 to 3 of 3

VBA to create PDF from worksheet and attach to Outlook Email

  1. #1
    Forum Contributor
    Join Date
    09-28-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    141

    VBA to create PDF from worksheet and attach to Outlook Email

    Hi Everyone,

    I am so close to solving this, but just one aspect does not work.

    When I run the VBA/macro, it creates the PDF correctly and creates a new email, but the PDF is not attached. I think it is the line below in bold type which is causing the issue, but i can't seem to make it work.

    Many thanks in advance to anyone who can help.

    Andy

    ***I have attached the VBA code as a text file as the site won't let me add it directly into this post. Hope this is ok.***

  2. #2
    Forum Contributor
    Join Date
    09-28-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    141

    Re: VBA to create PDF from worksheet and attach to Outlook Email

    Here is the attachment...

  3. #3
    Forum Contributor
    Join Date
    09-28-2017
    Location
    UK
    MS-Off Ver
    2016
    Posts
    141

    Re: VBA to create PDF from worksheet and attach to Outlook Email

    Here we go, second attempt with the attachment...
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] PDF - open outlook email and attach PDF
    By passman86 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-02-2017, 10:00 AM
  2. [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
  3. [SOLVED] Email Macro to attach a non active worksheet to outlook email
    By mickgibbons1 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-21-2013, 08:38 PM
  4. [SOLVED] Macro to create a pdf and attach to an email (Outlook)
    By jsedore in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-01-2013, 03:16 PM
  5. Outlook - Save Worksheet as PDF and attach to outlook mail
    By kaurka in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-05-2012, 10:19 AM
  6. Macro to attach workbook to Outlook email but NOT send
    By kbwilsdon in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2009, 06:57 AM
  7. Map the data and attach in a New work book with an Outlook email
    By suryaprasad in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-16-2009, 06:46 AM

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