+ Reply to Thread
Results 1 to 2 of 2

Create Folder with system date then save file to folder

  1. #1
    Registered User
    Join Date
    11-05-2009
    Location
    missouri
    MS-Off Ver
    Excel 2007
    Posts
    3

    Create Folder with system date then save file to folder

    So far I have this code which creates the folder using the system date, and then exports my range to an xml file. My problem is I need to save the file into the folder I create at the beginning instead of the directory its in now. Anyone know how to do this. Also I need to be able to check to see if the folder is already created. If not then create it and if it has been then just save to the folder.
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 11-06-2009 at 02:08 PM. Reason: Added Code Tags

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Create Folder with system date then save file to folder

    Hello ,

    You need to change the working directory to the new one. You can do this easily using a variable.
    Please Login or Register  to view this content.

+ 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