+ Reply to Thread
Results 1 to 3 of 3

Overload Save command to export to PDF

  1. #1
    Registered User
    Join Date
    03-07-2018
    Location
    Western PA
    MS-Off Ver
    Office 365 for Mac
    Posts
    2

    Overload Save command to export to PDF

    Goal: To export a PDF to a the same location as the active workbook every time the user saves the document.


    I've found the command to export to PDF, the thing I'm looking for help with is overloading Excel's default Save (not Save As...) command. Is this possible?
    Last edited by mcdaniel.isaac; 03-07-2018 at 01:19 PM.

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Overload Save command to export to PDF

    Not sure what you mean by overloading, but..


    The code needs to go in the Before_Save event macro, located in ThisWorkbook module

    BeforeSave.jpg


    Perhaps with a date and timestamp - something like this
    Please Login or Register  to view this content.
    Last edited by kev_; 03-07-2018 at 01:11 PM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Registered User
    Join Date
    03-07-2018
    Location
    Western PA
    MS-Off Ver
    Office 365 for Mac
    Posts
    2

    Re: Overload Save command to export to PDF

    EXACTLY the thing I was looking for. This will save so much time in my workflow

+ 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. Formula overload - need to replace with VBA code
    By whitwoo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-14-2015, 04:46 PM
  2. excel memory overload after multiple iterations
    By rossg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2013, 01:16 AM
  3. [SOLVED] 'Save' or 'save as' Command Button VBA Excel
    By eemiller1997 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-07-2013, 04:09 PM
  4. Export to pdf command button save as file name question
    By Miamited in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-14-2012, 02:33 PM
  5. Excel 2007 : Linking to other WorkBOOKS - Overload
    By ROB1963MAN in forum Excel General
    Replies: 2
    Last Post: 03-31-2012, 07:38 PM
  6. Calculation Overload
    By Sedapsofeca in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2009, 02:35 PM
  7. Formula Overload?
    By BCB in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-17-2008, 07:03 PM

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