+ Reply to Thread
Results 1 to 3 of 3

Importing Text files

  1. #1
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Importing Text files

    I am writing a spread sheet to be placed on several individual work stations on a network. The main data sheets are kept as textfiles on the server and called down to the work station on opening the application
    This is done using the following code:-
    Please Login or Register  to view this content.
    This works OK except it always generates a message window asking which file do we want to import. There are three text files dealt with this way, but I think that the QueryTables would define which text file to search for.
    I have tried putting each textfile in its own separate path, this didn't help.

    My question is. How can I eliminate this message?
    The query ranges are dynamically named using "SheetName_Table" as the name

    Thank you in anticipation
    j_Southern

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Importing Text files

    You may change the range properties manually or in the code:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    03-30-2010
    Location
    Manchester England
    MS-Off Ver
    Excel 2010
    Posts
    992

    Re: Importing Text files

    Izadol Many thanks for your interest. Your code does exactly what I needed. I had not realised that QueryTable had more properties.
    j_Southern

+ 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. IMPORTING TEXT FILES TO EXCELL - Multiple Multi line text files
    By Toxicca in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-12-2014, 09:56 AM
  2. Importing text files
    By Haz001 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2009, 04:23 AM
  3. importing from text files
    By np1966 in forum Excel General
    Replies: 3
    Last Post: 04-24-2009, 12:09 AM
  4. [SOLVED] Help Importing Text Files
    By MikeG in forum Excel General
    Replies: 1
    Last Post: 10-18-2005, 07:05 PM
  5. Importing Text Files
    By smith_gw in forum Excel General
    Replies: 1
    Last Post: 05-05-2005, 06:06 PM

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