+ Reply to Thread
Results 1 to 3 of 3

add check if date folder exist - if not create - and modify Save As line to place new file

  1. #1
    Forum Contributor
    Join Date
    07-17-2015
    Location
    Roanoke, Virginia
    MS-Off Ver
    2010
    Posts
    173

    add check if date folder exist - if not create - and modify Save As line to place new file

    Any help here would be appreciated -

    I'd like to modify the following code to include - first look to see if folder exists (The existing folder name should be today's date -mm-dd-yyyy)
    IF it doesn't exist then create it - if does exist then continue

    The line "C:\Users\Jim\Documents\!LGTC\Network\" & _ - - -needs the today's date folder added to the path (\Network\????\" &_

    Please Login or Register  to view this content.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: add check if date folder exist - if not create - and modify Save As line to place new

    Something like this:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Contributor
    Join Date
    07-17-2015
    Location
    Roanoke, Virginia
    MS-Off Ver
    2010
    Posts
    173

    Re: add check if date folder exist - if not create - and modify Save As line to place new

    Thanks so much - this works perfect!
    I appreciate your time, skill and keeping it simple
    I'll mark this as solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA to save a workbook to a folder but create that folder if it doesn't already exist
    By cnixon in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-24-2014, 06:01 PM
  2. [SOLVED] Check if folder and file exist
    By blue.chio in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-13-2013, 04:34 PM
  3. Code to create New Folder (if doesn't exist) and then Save Workbook to folder
    By jenhawley in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-10-2013, 03:09 PM
  4. Save a file to a folder, create folder if it doesn't exist
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2010, 09:12 AM
  5. Create Folder with system date then save file to folder
    By cartotech81 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2009, 02:12 PM
  6. Replies: 6
    Last Post: 08-11-2006, 03:41 PM
  7. Replies: 3
    Last Post: 03-11-2006, 02: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