+ Reply to Thread
Results 1 to 5 of 5

Link .txt file for excel to update changes

  1. #1
    Registered User
    Join Date
    03-13-2008
    Posts
    87

    Link .txt file for excel to update changes

    Hello there,

    Is there a way to import a .txt file with delimiters and have excel update automatically when the .txt file is updated externally?

    Please let me know as that would be a HUUUGE help!

    Thanks,
    Lorne

  2. #2
    Registered User
    Join Date
    03-13-2008
    Posts
    87

    Re: Link .txt file for excel to update changes

    Any help? Is this even possible?

    Thanks
    Lorne

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388

    Re: Link .txt file for excel to update changes

    Yes it is possible. You can get the delimited .txt file into Excel by using Data > Import External Data and connecting to your .txt file as a data source (don't use the Text Import Wizard). This will create a query table on a worksheet containing the data that can be refreshed at intervals from 1 to 60 minutes, without any VBA code.

    To refresh the sheet when the .txt file changes, you could monitor that event with a VBScript file using either WMI or FileSystemObject (DateLastModified property of a file) to respond to the file change and refresh the query table.

  4. #4
    Registered User
    Join Date
    03-13-2008
    Posts
    87

    Re: Link .txt file for excel to update changes

    Hello there,

    Ok so I am using Excel 2007 and I went to the Data Tab>Get External Data, I tried originally the 'From Text' command, and that imported but didn't link.

    Then I tried the from other sources>data connection Wizard and that didn't work. Then I went to the Data Tab>Connections Ribbon and added the .txt file into the connects, but then I can't get it to show up in the spreadsheet?

    What am I missing? Is there a tutorial online somewhere? I can't seem to find anything.

    Thanks,

    Lorne

  5. #5
    Registered User
    Join Date
    03-13-2008
    Posts
    87

    Re: Link .txt file for excel to update changes

    I'm still trying to get this linked .txt file figured out. Can anyone share some insight? Thanks,
    Lorne

+ 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