+ Reply to Thread
Results 1 to 2 of 2

Using VBA to send a range in pdf via e-mail

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    Leicester, England
    MS-Off Ver
    MS Office 365
    Posts
    76

    Using VBA to send a range in pdf via e-mail

    Hi All

    I need some help with sending a sheet over e-mail using vba, however I need the range stated on the sheet to be converted and sent as PDF just by clicking on a button.

    I have checked out some other sites which show solutions, however I can't get my head around making it work properly. I already use a vba code to send either a range or a sheet depending on the contents.

    However I have one supplier who I send to which can't open my excel files, hence why I'm trying to look into sending as a pdf.

    Thanks All

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Using VBA to send a range in pdf via e-mail

    Hi BullseyeThor

    See this link for Code to do as you describe. If you need help adapting attach your File with existing Code.

    http://www.rondebruin.nl/pdf.htm
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    06-13-2012
    Location
    Leicester, England
    MS-Off Ver
    MS Office 365
    Posts
    76

    Re: Using VBA to send a range in pdf via e-mail

    Attachment 223498

    Ok I had a look and it's more complicated than I thought it would be.

    I just want to be able to press a button and it converts and sends to a preset address everytime. I need a range only sending as well so need to be able to select what that is.

    I have attached a sample of the sheet I will be sending. I just need help with the code. I have a code which sends the sheet as an attachment in excel but the supplier apparently cannot open this and so I need to send as PDF for it to work.

    Thanks in advance.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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