+ Reply to Thread
Results 1 to 2 of 2

Save, Date, Rename File and Auto Save

  1. #1
    Forum Contributor
    Join Date
    06-06-2017
    Location
    Phoenix, AZ
    MS-Off Ver
    2013
    Posts
    129

    Save, Date, Rename File and Auto Save

    I am very new to VBA and am looking for advice and direction on how I may accomplish this idea. I am wondering if it is possible in excel to have a master sheet (one we use daily of many sheets, I am hoping to understand enough to apply it to all of our daily data sheets) and have it do the following:

    Upon opening the file it will:

    A. Check to see if directory S:\\shared\name\subname\unit\datafolder\YYYY (Year Folder) exists if not create it.
    B. Check YYYY Year folder to see if Month folder (MM YYYY) exists if not create it.
    C. Check to see if date is entered in Cell “B4”. We reopen the file after it is created so it needs to retain the date if one is entered in cell “B4” and is opened at a later date for review.
    D. Enter Date at cell “B4” (MM-DD-YYYY).
    E. Rename new sheet from master file to Date (MM-DD-YYYY) SI Log.xlsm.
    F. Auto Save file every 5 minutes. If opened on date after date on file, no updating of date is done.

    I really have no Idea where to start. All help is appreciated! I do not have any workbook started yet to attach.

  2. #2
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    575

    Re: Save, Date, Rename File and Auto Save

    Since you clearly state you have no idea where to start.....I suggest you start with this:

    https://www.excelforum.com/excel-pro...materials.html

    otherwise you won't understand anything else anyone might suggest.

+ 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] Macro to save file - save name from cell containing a date using different date formatting
    By d_max_c in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2014, 12:18 PM
  2. Macro to Auto save a backup copy in a seperate location OR save file with a pop up
    By kdsanderson30 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-12-2014, 12:38 PM
  3. [SOLVED] save open worksheet to file and include date of save
    By shaz0503 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-12-2014, 08:50 AM
  4. [SOLVED] auto save when open and adding current date to file
    By ferrum_equitis in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-04-2012, 01:03 PM
  5. Create a Txt File, Rename and Save It
    By jason_kelly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-24-2010, 04:46 PM
  6. Code to rename file and save...
    By Lazypanda in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2009, 06:24 AM
  7. Auto rename and save prompt needed.
    By Gizmo63 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-07-2006, 10:10 AM

Tags for this Thread

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