+ Reply to Thread
Results 1 to 3 of 3

Auto-import Text Files Using Single Cell Value.

  1. #1
    Registered User
    Join Date
    11-09-2006
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    200

    Auto-import Text Files Using Single Cell Value.

    Hello,
    I wonder if this can be done. I have a list of the csv files containing price data:

    EURUSD10080.CSV
    EURUSD1440.CSV
    EURUSD240.CSV
    EURUSD60.CSV
    USDJPY10080.CSV
    USDJPY1440.CSV
    USDJPY240.CSV
    USDJPY60.CSV
    GBPUSD10080.CSV
    GBPUSD1440.CSV
    GBPUSD240.CSV
    GBPUSD60.CSV
    USDCHF10080.CSV
    USDCHF1440.CSV
    USDCHF240.CSV
    USDCHF60.CSV
    AUDUSD10080.CSV
    AUDUSD1440.CSV
    AUDUSD240.CSV
    AUDUSD60.CSV
    USDCAD10080.CSV
    USDCAD1440.CSV
    USDCAD240.CSV
    USDCAD60.CSV
    NZDUSD10080.CSV


    I wonder if it can be possible to have excel structure the data query in such a way that each time I change the name of a single cell (e.g. Set it to EURUSD10080.CSV ) – it will load the corresponding EURUSD10080.CSV file into the worksheet?

    I have attached a few CSV files.

    Will be glad to hear what you think!

    D
    Attached Files Attached Files

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Auto-import Text Files Using Single Cell Value.

    Hi, zealot,

    I'm afraid your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    11-09-2006
    MS-Off Ver
    Excel 2010 64 bit
    Posts
    200

    Re: Auto-import Text Files Using Single Cell Value.

    I recorded one import sequence in a macro:

    Please Login or Register  to view this content.
    I wonder how do I made this macro import the data using the file name that is specified in a cell???

+ 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