+ Reply to Thread
Results 1 to 2 of 2

Goal: To save Worksheet as PDF and email with Outlook - All done with a Macro Button

  1. #1
    Registered User
    Join Date
    08-16-2023
    Location
    Texas, USA
    MS-Off Ver
    Office 365
    Posts
    1

    Post Goal: To save Worksheet as PDF and email with Outlook - All done with a Macro Button

    Hello. I am trying to figure out the code for saving my active worksheet (Delivery Ticket) as a particular file name with Customer Name and Purchase Order number as filename, by using two cells to combine the filename. Screenshot 2023-08-16 141910.png

    ..then have that pdf attached in an Outlook email (that is usually already formatted) that will automatically send to my customers' email addresses, utilizing their Company Name & Purchase Order Number in the Subject.Screenshot 2023-08-16 143005.png

    If I could have the pdf saved to the parent Customer folder, that would be ideal! Screenshot 2023-08-16 143257.png

    I am trying to automate all of this with one Macro Button.

    ANY help is GREATLY appreciated!

    Thank you so much.

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Goal: To save Worksheet as PDF and email with Outlook - All done with a Macro Button

    The following will create a PDF from the active sheet. It presently saves the pdf to : "C:\Test\Export" and names the file according data in Range("A1"). The location and name can be changed to meet your needs.

    Please Login or Register  to view this content.

    You may need to edit some of the above code to meet your needs.

+ 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 to save outlook email into pdf with our without attachment
    By Ratna.Snepal in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2023, 05:32 AM
  2. Replies: 5
    Last Post: 04-29-2020, 11:12 AM
  3. need macro code to open new outlook email with text for the command button
    By Giri.hb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-28-2016, 10:02 AM
  4. Macro to save multiple generated invoices as PDF and email via Outlook
    By vaibhava09 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2016, 10:09 AM
  5. [SOLVED] Outlook Macro to gather email data from different subfolders into same worksheet
    By M.A in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2015, 03:08 AM
  6. [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
  7. Replies: 0
    Last Post: 09-12-2013, 07:43 AM

Tags for this Thread

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