Results 1 to 4 of 4

Saving to Specific folder - Dependent on month

Threaded View

  1. #1
    Registered User
    Join Date
    01-10-2014
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    57

    Saving to Specific folder - Dependent on month

    Hi,

    I'm very new to macro so please bare with me

    Basically, i want my file to be saved in the directory dependent on the month we are currently in.

    Currently i have the macro as follow:

    ChDir "D:\P&L\2014"
        ActiveWorkbook.SaveAs Filename:= _
            "D:\P&L\2014\ " analysis v1.xlsx", _
            FileFormat:=xlOpenXMLWorkbook, CreateBackup:=False
    So instead of "D:\P&L\2014\" it'll be "D:\P&L\2014\Jan"

    Thanks
    Last edited by shiser; 01-30-2014 at 11:43 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Saving file to a specific folder
    By richkim2000 in forum Excel General
    Replies: 3
    Last Post: 04-17-2016, 11:32 AM
  2. Problem Saving to a specific folder
    By mengghee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2015, 09:30 AM
  3. Saving a sheet to a specific folder
    By kmraz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2013, 08:43 PM
  4. saving file to a specific folder
    By naomi in forum Excel General
    Replies: 3
    Last Post: 11-15-2007, 04:53 AM
  5. [SOLVED] Saving to a certain month folder
    By Stephen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2006, 12:50 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