+ Reply to Thread
Results 1 to 4 of 4

Saving Macro with date in front

  1. #1
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Saving Macro with date in front

    I've taken this code from someone smarter than me on this forum, and have been using it at work. It saves a file with the current date and time. Something like this "My Awesome Report 11-30 0854". My boss just recently said she wants the reports to look like this: "11.30.12 My Awesome Report". I can't seem to tweak this to do what I want. Any ideas?


    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Saving Macro with date in front

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Forum Contributor
    Join Date
    09-25-2012
    Location
    Ventura, united States
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Saving Macro with date in front

    Norie,

    I've specified it a bit, but it still doesn't work. I don't really understand what p does or the necessity of it if I save it by the same file name every time. What do you think?

    Please Login or Register  to view this content.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: Saving Macro with date in front

    How doesn't it work?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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