+ Reply to Thread
Results 1 to 7 of 7

Auto/Date Triggered "Save As" Function

  1. #1
    Forum Contributor onmyway's Avatar
    Join Date
    09-03-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2013
    Posts
    386

    Auto/Date Triggered "Save As" Function

    Hi all!

    I would like to create an auto-save function for my Workbook, and your expertise would be greatly appreciated!

    I need code that will check the Date/Today when one opens the Workbook, and if the date is the 1st of the month, it will show a MsgBox warning that "The Workbook must be saved! Would you like to save the Workbook now?", and by clicking on YES, it will open the Excel File>>Save / ctrl + s function to save the Workbook.

    Thanks in advance!

  2. #2
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: Auto/Date Triggered "Save As" Function

    try this code

    Please Login or Register  to view this content.
    code must be written on ThisWorkbook module with open event
    click the star if it solves your problem

  3. #3
    Forum Contributor onmyway's Avatar
    Join Date
    09-03-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2013
    Posts
    386

    Re: Auto/Date Triggered "Save As" Function

    Hi dwint, thanks for the help! I am getting the following error when opening the Workbook: Run-time error '13': Type mismatch on the line
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: Auto/Date Triggered "Save As" Function

    try this one

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor onmyway's Avatar
    Join Date
    09-03-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2013
    Posts
    386

    Re: Auto/Date Triggered "Save As" Function

    thanks, dwint. One prob though; I would like the Save As dialogue to open, as I want to save the Workbook as a different copy, and not only save the Workbook.

  6. #6
    Forum Contributor
    Join Date
    10-02-2012
    Location
    Bumi Nusantara
    MS-Off Ver
    Excel 2010; Excel 2016
    Posts
    136

    Re: Auto/Date Triggered "Save As" Function

    I hope this one is the solution you're looking for

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor onmyway's Avatar
    Join Date
    09-03-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    2013
    Posts
    386

    Re: Auto/Date Triggered "Save As" Function

    AAAAHHHH! You ROCK! Thanks for all your help!

+ 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. Return "green", "yellow" or "red" from date/age and priority ranking
    By Cantaloop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2013, 12:12 AM
  2. Auto-Save & Close workbook after 30 minute "session"?
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-12-2011, 03:21 PM
  3. Stopping the save function...until a user has clicked "save as".
    By ExcelToyney in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-01-2010, 07:36 AM
  4. How do I "auto save" my file in MsOffice2003 Exel?
    By mawer-cv in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-31-2005, 04:05 PM
  5. Auto Answer "save changes" in a BeforeClose Event
    By TEAM in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-30-2005, 04:22 AM

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