+ Reply to Thread
Results 1 to 4 of 4

Save selected range in a pdf format & email the file to a someone automatically?

  1. #1
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    208

    Save selected range in a pdf format & email the file to a someone automatically?

    Hi guys,

    Below is what i am currently using on my worksheet to save a selected cell range then automatically email it to my clients. It works fine but I want to review the file and also sometimes I want to write something more in the email I am sending to clients using the code below.

    So, there are two things I want to achieve here, if someone can rewirte or add anything to the code given below to make what I want to happen, I will be highly appreciated.

    First, I want to save the selected range of cells in a pdf format to the following path:
    "C:/User/Jin/Desktop/DDD"

    Second, I still want the automated email function to remain active but do not send emails out before I click send button (like how we normally send emails using outlook).

    Can anyone help??
    Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Save selected range in a pdf format & email the file to a someone automatically?

    http://www.ozgrid.com/forum/showthread.php?t=133180
    If solved remember to mark Thread as solved

  3. #3
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Save selected range in a pdf format & email the file to a someone automatically?

    change this
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    and add

    .Display (this opens the e-mail before sending)
    after
    .save
    and take out .send (this sends the mail)
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  4. #4
    Forum Contributor
    Join Date
    12-14-2012
    Location
    Perth
    MS-Off Ver
    Excel 2010
    Posts
    208

    Re: Save selected range in a pdf format & email the file to a someone automatically?

    Thank you Sean and Patel. It works perfect. And Patel, the link is very useful, just what I was looking for.

+ 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