Results 1 to 6 of 6

Macro to File/Save as "Numbers as of [today's date]" on desktop

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    04-11-2006
    MS-Off Ver
    2007
    Posts
    438

    Macro to File/Save as "Numbers as of [today's date]" on desktop

    Hi All,

    I'd like a macro to have the workbook save as

    Numbers as of "today's Date"

    and then close that workbook.

    I already tried the following...

    Sub File_SaveAs()
    '
    ' File_SaveAs Macro
    ' Macro recorded 2/17/2009 by ...
    
        ActiveWorkbook.SaveAs Filename:= _
            "D:\Documents and Settings\Smith\Desktop\Numbers as of.xls" & Format(Date, "mm-dd-yy")
            FileFormat:=xlNormal, Password:="", WriteResPassword:="",
            ReadOnlyRecommended:=False, CreateBackup:=False
    End Sub
    I got a Compile and Syntax error.

    Thanks
    Last edited by duugg; 02-26-2009 at 11:38 AM.

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