+ Reply to Thread
Results 1 to 3 of 3

Naming a workbook as the current date

  1. #1
    Registered User
    Join Date
    07-31-2012
    Location
    Somewhere, Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Naming a workbook as the current date

    Hey all,

    I have an excel workbook, that I want to be saved as with the filename being the current date. I can't seem to get it. Help please!

    Please Login or Register  to view this content.

  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,756

    Re: Naming a workbook as the current date

    Date will have forward slash (/) separators in it. You'd need to format it with something acceptable like space or underscore ... or nothing.

    Regards, TMS

    ---------- Post added at 05:00 PM ---------- Previous post was at 03:15 PM ----------

    Thanks for the rep.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    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


  3. #3
    Registered User
    Join Date
    07-31-2012
    Location
    Somewhere, Indiana
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Naming a workbook as the current date

    Actually I'm trying to make a macro that will be in a empty workbook. I want the macro to save a whole different workbook. Unforunately, i'm really new to this and only know the activeworkbook and this workbook commands. Here is the path of the workbook that I want saved S:\Production\C9\C9 Coat weight data . Also I want the macro to run automatically when the empty workbook is opened b/c I will have a windows scheduled task opening it every 7 days. Basically my whole object is to save the workbook at S:\Production\C9\C9 Coat weight data every 7 days.

    ---------- Post added at 02:31 PM ---------- Previous post was at 12:12 PM ----------

    Nevermind, thanks for the help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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