+ Reply to Thread
Results 1 to 2 of 2

Save Excel Document As Day Before

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    25

    Save Excel Document As Day Before

    I have this code to save for today. Just wondered where i put the '-1' to save it as yesterdays date


    ...Document Name" & Format(Date, " dd-mm-yyyy") & ".xlsx"

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Save Excel Document As Day Before

    After Date and before the comma ... Date-1,


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Macro to save as a new excel document every 50 rows
    By VirginiaAviator in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-01-2013, 10:57 AM
  2. Replies: 1
    Last Post: 02-23-2006, 10:10 PM
  3. 'document not saved' for 'save' or 'save as' an EXCEL file
    By Judy Chuang in forum Excel General
    Replies: 1
    Last Post: 07-11-2005, 06:05 PM
  4. how can you set up excel to auto-save a document?
    By Cherrice in forum Excel General
    Replies: 1
    Last Post: 06-13-2005, 04:05 PM
  5. Save Data to Excel Web Document
    By Save Excel Data to Web Documen in forum Excel General
    Replies: 0
    Last Post: 01-06-2005, 04:06 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