+ Reply to Thread
Results 1 to 9 of 9

macro to save worksheet to pdf then email it same time

  1. #1
    Registered User
    Join Date
    01-23-2016
    Location
    dallas, texas
    MS-Off Ver
    2007
    Posts
    12

    macro to save worksheet to pdf then email it same time

    I have excel 2013 and I am trying to become a little more efficient when I use my sheet. whenever I order materials for a job I have to print out 2 copies both in pdf form then run them down to my purchaser and shipping dept manager, I spoke to them both and they said me emailing it to them would work. I want to have a button on my PO sheet that I click and it saves the worksheet as a PDF then emails it to them both. Could If get some direction on how to make the macro It would be very appreciated. I have it close now but it sends the worksheet in excel form not the PDF form. I have a shape button I inserted I will assign my macro to the button.

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: macro to save worksheet to pdf then email it same time

    i've done that so
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: macro to save worksheet to pdf then email it same time

    Another option

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    01-23-2016
    Location
    dallas, texas
    MS-Off Ver
    2007
    Posts
    12

    Re: macro to save worksheet to pdf then email it same time

    its working like I wanted it to. Thank you very much for the help and fast reply.

  5. #5
    Registered User
    Join Date
    01-23-2016
    Location
    dallas, texas
    MS-Off Ver
    2007
    Posts
    12

    Re: macro to save worksheet to pdf then email it same time

    here you go let me know if it works for you. thank you
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: macro to save worksheet to pdf then email it same time

    Can anyone help on why this part is not working all the time when changed.

    I have it working in an example file but it doesn't work all the time which is confusing

    Please Login or Register  to view this content.
    the error appears in line

    Please Login or Register  to view this content.
    when trying to attach.

    Basically we're looking to change the PDF file name to just be the sheet name.
    Attached Images Attached Images

  7. #7
    Registered User
    Join Date
    01-23-2016
    Location
    dallas, texas
    MS-Off Ver
    2007
    Posts
    12

    Re: macro to save worksheet to pdf then email it same time

    Basically all I want the code to do is save the PDF the name on the tab instead of the worksheet name. Any help would be very much appreciated.

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: macro to save worksheet to pdf then email it same time

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    http://www.excelguru.ca/forums/showt...pen-in-outlook

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

  9. #9
    Registered User
    Join Date
    01-23-2016
    Location
    dallas, texas
    MS-Off Ver
    2007
    Posts
    12

    Re: macro to save worksheet to pdf then email it same time

    This has been resolved and works like a charm. I want to thank anyone who helped me with this.

+ 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. Macro - Save Word as PDF with Unique Name and Email PDF to specified email address.
    By newbie1234 in forum Word Programming / VBA / Macros
    Replies: 6
    Last Post: 07-08-2014, 11:54 PM
  2. [SOLVED] save worksheet as pdf and email it
    By wolfm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2013, 02:20 AM
  3. [SOLVED] Save active worksheet to pdf and email
    By wolfm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2013, 02:19 AM
  4. VBA to save worksheet as a pdf and email
    By menmine5 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-15-2012, 09:43 AM
  5. Save worksheet as PDF then email
    By pjxcelwizard in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-14-2011, 10:25 AM
  6. Save Worksheet from a Workbook and email
    By manny_cb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-29-2010, 08:03 PM
  7. Can't save Excell worksheet from email
    By Donna T in forum Excel General
    Replies: 2
    Last Post: 01-28-2006, 01:50 PM

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