+ Reply to Thread
Results 1 to 3 of 3

Send Excel Workbook as PDF but not save

  1. #1
    Registered User
    Join Date
    01-09-2018
    Location
    West Midlands, England
    MS-Off Ver
    2016
    Posts
    75

    Send Excel Workbook as PDF but not save

    Hi guys,

    I have a workbook with a code attached which allows me to email the workbook, renames the file to a cell selection within the workbook and then does not save the file.

    This is the code

    Please Login or Register  to view this content.
    What I now need, is the code to work exactly the same but attach it to the email a pdf file and not an excel file.

    Thanks

  2. #2
    Registered User
    Join Date
    07-02-2018
    Location
    Drunen
    MS-Off Ver
    2013
    Posts
    60

    Re: Send Excel Workbook as PDF but not save

    are you sure file is not being saved? since

    Please Login or Register  to view this content.
    seems to save your workbook as ".xlsm". you could try to change this to .pdf?

  3. #3
    Registered User
    Join Date
    01-09-2018
    Location
    West Midlands, England
    MS-Off Ver
    2016
    Posts
    75

    Re: Send Excel Workbook as PDF but not save

    What it does is rename the file to that cell selection, but adds it on the end of the file name each time. That's another problem I have, but just needed to try and solve the pdf one first.

    I have tried that with changing the file type to .pdf but when the user who has received the email tries to open the file it says it is corrupted and hasn't been decoded properly.

+ 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. Excel VBA to save and send mail.
    By Prabakaran3003 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2017, 09:15 AM
  2. Send Excel file by email, but Not to Save
    By Patish in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 11-15-2016, 09:34 AM
  3. [SOLVED] Macro to save workbook in two different places and send email to a large group
    By moosetales in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-27-2016, 05:01 AM
  4. Replies: 1
    Last Post: 03-11-2014, 12:44 PM
  5. my save/send macro needs to rename workbook after a cell value
    By VectorW2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2013, 02:45 PM
  6. save and send excel file
    By ben.fish in forum Excel General
    Replies: 10
    Last Post: 03-25-2011, 12:28 PM
  7. VBA + Excel - Save ActiveSheet as hmt then Send Email
    By mariocatch in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-13-2007, 10:52 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