+ Reply to Thread
Results 1 to 2 of 2

I need to create a macro to save the active wb, create a PDF and e-mail that PDF in 2010

  1. #1
    Registered User
    Join Date
    03-21-2014
    Location
    Eastleigh, England
    MS-Off Ver
    Excel 2010
    Posts
    8

    Question I need to create a macro to save the active wb, create a PDF and e-mail that PDF in 2010

    Hi all, I am using Excel 2010 and I need to create a macro (so I can assign to a button) that does the following:

    1. Save the already set print area as Excel according to the contents of particular existing cells in a particular ws in that wb to the same folder.
    2. Save a PDF of that ws to the same folder (or preferably if possible to a folder in that folder called Sent, to be created if not already there)
    3. E-mail that PDF using the default e-mail app on the device with a specified subject and message content including the contents of one of the cells if possible.

    I have searched and tried combining various codes I have found but I can't seem to get anything to work properly. Please help.
    Andy

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: I need to create a macro to save the active wb, create a PDF and e-mail that PDF in 20

    Hi Andy

    Have you tried to record a macro doing points 1 & 2, and there are a load of automating outlook snippets in here( 4 or 5 posts before yours) and on the net.
    Last edited by nathansav; 07-23-2014 at 05:32 AM.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

+ 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. Replies: 0
    Last Post: 03-20-2013, 06:26 AM
  2. Macro to create an e-mail using an Outlook Template and add an attachment
    By hsarro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-06-2012, 12:25 PM
  3. Replies: 2
    Last Post: 07-31-2012, 10:00 PM
  4. Create hyperlink to active woorkbook using macro
    By danpo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2011, 05:27 AM
  5. Create PDF from active worksheet, attatch to mail and add signature
    By Draikonis in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2010, 05:05 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