Closed Thread
Results 1 to 3 of 3

Data Connections Formula problem

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    St. Louis
    MS-Off Ver
    Excel 2007
    Posts
    33

    Question Data Connections Formula problem

    So I have encoutered a problem with the Data Connections in excel.... Let me give you a little background to better understand the problem. Everyday I run a process that creates a file with the current date for example karagill120512.txt. I have to import this file everyday into an excel template. I am trying to automate this process.. So what I wanted is when I opened up my spreadsheet it would automatically import the file without having to pick the file. The way I did this way when I was setting up the data connections I used an excel formula karagill=TODAY(). It worked beautifully but the next day when I opened the spreadsheet is says it cannot locate the file. So after further research I have learned it is looking for the current date of when I set up the data connection not the current date. So if I put my file in the correct folder with YESTERDAYS date it will work... How do I get the Data Connections to update so it looks for the file with the current date and NOT the date I set up the connection?? Any thoughts or advice?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Data Connections Formula problem

    i have never used data connections before, so i have no idea if this would work, or what the format might be, but try playing around with indirect() inside that formula? something like indirect(today)

    sorry i cant be of more help
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Data Connections Formula problem

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

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

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