+ Reply to Thread
Results 1 to 6 of 6

need to open a montly workbook based on a date in current workbook

  1. #1
    Registered User
    Join Date
    11-07-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    51

    need to open a montly workbook based on a date in current workbook

    I need to open a Monthly saved file based on the date entered in cell G4.

    Our office saves a log of shipments every month, JANUARY 2015, FEBRUARY 2015, ETC.

    When I enter the date for a particular shipment into report cell G4, I need vba to open the corresponding month's file to pull over the information for a separate report.

    Thanks in advance

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: need to open a montly workbook based on a date in current workbook

    This assumes that your shipment logs were saved in the same path of the activeworkbook other wise you'd need to identify the path.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-07-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: need to open a montly workbook based on a date in current workbook

    I am sorry, I tried to add the path, and I am sure I messed it up, which is why it isn't working, path listed below:

    T:\EXCEL000\REPORTS\DOC DEPT\2015 DOC LOGS\

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: need to open a montly workbook based on a date in current workbook

    Try:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-07-2013
    Location
    Atlanta, GA
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: need to open a montly workbook based on a date in current workbook

    Of course the simplest answer is the best one. thanks!

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: need to open a montly workbook based on a date in current workbook

    You're welcome. Glad to help out and thanks for the feedback.

+ 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. set datepicker value to current date on workbook open
    By whitwoo in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-17-2014, 01:52 PM
  2. Excel Log: VBA to Add Row(s) Upon Workbook Open Last through Current Date
    By jdppep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-05-2013, 04:22 PM
  3. Open workbook, copy rows, paste to end of current workbook
    By gmn734 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-25-2013, 05:16 AM
  4. [SOLVED] VBA to Open File (filename contains current date) & copy Sheet to active workbook
    By jlstidham in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2013, 10:50 PM
  5. How to open,save and close another workbook from the current workbook using macro?
    By ravikumar00008 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-15-2012, 10:42 AM

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