+ Reply to Thread
Results 1 to 8 of 8

How to make the file auto save when print is clicked?

  1. #1
    Registered User
    Join Date
    04-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    How to make the file auto save when print is clicked?

    Hi all.
    I currently have these macros in my workbook and needs to have the feature of auto save when print. May I know how yo do it? Thanks



    Please Login or Register  to view this content.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485

    Re: How to make the file auto save when print is clicked?

    Add to the code

    Please Login or Register  to view this content.
    Should do it.

  3. #3
    Registered User
    Join Date
    04-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    Re: How to make the file auto save when print is clicked?

    Which part of e code shld I put it in? Cos I tried earlier can't seem to find the correct place to put

  4. #4
    Registered User
    Join Date
    04-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    Re: How to make the file auto save when print is clicked?

    Anyone???????

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485

    Re: How to make the file auto save when print is clicked?

    Put it at the end of your before_print code

  6. #6
    Valued Forum Contributor meabrams's Avatar
    Join Date
    10-03-2014
    Location
    USA
    MS-Off Ver
    2007, 2010, 2013, 2016
    Posts
    451

    Re: How to make the file auto save when print is clicked?

    Here's how I made it work (I'm by no means one of the Guru's so if someone else has a better way of making this work please post)

    Your Updated Code
    Please Login or Register  to view this content.
    Hope this helps
    Bramz

  7. #7
    Registered User
    Join Date
    04-03-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    14

    Re: How to make the file auto save when print is clicked?

    Appreciate all... but what if i wan to save it as pdf format?

  8. #8
    Valued Forum Contributor meabrams's Avatar
    Join Date
    10-03-2014
    Location
    USA
    MS-Off Ver
    2007, 2010, 2013, 2016
    Posts
    451

    Re: How to make the file auto save when print is clicked?

    Hmmm...... Try this (Still saves the file)

    Updated Code
    Please Login or Register  to view this content.

+ 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. [SOLVED] How to make excel file auto save to PDF office 2010
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-14-2014, 06:24 AM
  2. Auto Save & Disable/Enable CutCopyPaste MACROS - Make ineffective once file is closed
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-22-2008, 07:30 PM
  3. Replies: 3
    Last Post: 09-06-2005, 12:05 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