Results 1 to 4 of 4

save sheet and name it acording to the specific date

Threaded View

  1. #1
    Registered User
    Join Date
    06-22-2011
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    6

    save sheet and name it acording to the specific date

    Hi,

    I have this simple code:

    [B
    ]Sub SaveSheet()
    
    Sheets("1").Copy
    ActiveWorkbook.SaveAs Filename:="S:\WORK\rapporter\Report"
    ActiveWorkbook.Close[/B]End Sub
    Now I want to add a date after Report so the name today for the report will be Report_10/10-2012

    So my question: If I have a TODAY() code in cell A1 can I make the last part of "ActiveWorkbook.SaveAs Filename:="S:\WORK\rapporter\Report" refer to this cell?
    Last edited by arlu1201; 10-10-2012 at 07:11 AM. Reason: Use code tags in future.

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