+ Reply to Thread
Results 1 to 3 of 3

Open .CSV using macro with changing file path

  1. #1
    Registered User
    Join Date
    03-10-2007
    Posts
    7

    Open .CSV using macro with changing file path

    I have a sheet that pulls values from a .CSV file that is updated throughout the day. On my computer this works great but when used on other computers, the file path to the .CSV file is not the same. I did some reading online and thought that this code would work but it doesn't. Ideas?

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor Stuie's Avatar
    Join Date
    09-17-2006
    Location
    Suffolk, UK
    MS-Off Ver
    Excel 2003/2007
    Posts
    432
    if the file path is always changing you could make a variable that promts user for the file path or make a drop down box of the possible paths the file could be in...

    there are plenty of options its just depends on how you want it to work with the user.

  3. #3
    Registered User
    Join Date
    03-10-2007
    Posts
    7
    I ended up using the following code and it works perfectly as long as both files are in the same folder.

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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