+ Reply to Thread
Results 1 to 6 of 6

Dynamic file paths. HELP!

  1. #1
    Registered User
    Join Date
    09-11-2013
    Location
    Vancouver, USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Dynamic file paths. HELP!

    Thank you everyone for your help in advance. Im sure the solution to my problem is an easy one, but I can't figure it out.

    Things I'm trying to achieve with my worksheet:
    Allow multiple (most not excel savy) people use this spreadsheet with ease.
    Pull information from 52 different files on my computer. All saved in the same directory.
    Have the filepath change within the cell to match user input information. Eg. Year or store number.

    Things I've already tried:
    I've used the concatenate formula to string everything together, but it doesn't work.
    Copy all and paste values. Works, but loses original formulas, making it harder to switch between store number, year, ect.

    I may have to do something with vba for this, but don't know where to start. I've got formulas on lock, but I'm self taught in VBA.
    I attached my file so you can check it out and give me feedback. Cells I used when doing concatenate start in cell AJ9.
    Attached Files Attached Files

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Dynamic file paths. HELP!

    I know the other files are grouped together, but is this file located with the other 52?

  3. #3
    Registered User
    Join Date
    09-11-2013
    Location
    Vancouver, USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Dynamic file paths. HELP!

    At this moment, no. It is on my desktop. Should I put it there?

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Dynamic file paths. HELP!

    I usually place the files and subfiles together to prevent filepathing issues when I move my workbooks around.

    =MID(CELL("filename"),1,FIND("[",CELL("filename"))-1) can come in handy for that though, as it will autotarget the directory your file is in, and can then easily target any other files in that same folder no matter where you move it and its contents.

    I'm still working on a way solve your issue cleanly without resorting to paste values, so I'm beginning to think it may be a VB solution.

    What are the ranges in your workbook you ultimately need to fill in with values? Just the spots with #REF?

  5. #5
    Registered User
    Join Date
    09-11-2013
    Location
    Vancouver, USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Dynamic file paths. HELP!

    I will initially need to fill columns B through N with information from my 52 wb's. Each row(week) is a different workbook. I also put my cell references that the data will be pulled from in BJ11-BU11.

  6. #6
    Registered User
    Join Date
    09-11-2013
    Location
    Vancouver, USA
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Dynamic file paths. HELP!

    Here is an example of my source file.

+ 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. Export To Inf file & Zip the Files from the given file paths picking every 10 rows
    By vivekhalder in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 03:59 AM
  2. Need help with vlookup file paths!
    By LangerXXV in forum Excel General
    Replies: 2
    Last Post: 04-17-2012, 11:56 PM
  3. [SOLVED] excel file paths
    By Jane in forum Excel General
    Replies: 1
    Last Post: 08-17-2006, 12:05 PM
  4. [SOLVED] file paths
    By hr in forum Excel General
    Replies: 0
    Last Post: 12-07-2005, 01:10 PM
  5. Relative file paths
    By Jim in forum Excel General
    Replies: 7
    Last Post: 05-24-2005, 07:02 PM

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