+ Reply to Thread
Results 1 to 2 of 2

Importing text file to excel 2013

  1. #1
    Registered User
    Join Date
    05-11-2014
    Location
    Cape Town, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    1

    Importing text file to excel 2013

    Hi

    I want to import a space delimited text file into an excel worksheet. The excel worksheet has a cell in which the user inputs the date. This date is used to search for the text file in the file location C:\Users\Documents\VS Statistics\1a where there are many files which are named in this format: voucher_usage_08-04-2014.txt . I am looking for a macros code which does this. The code which I had come up with is failing.

    Please Login or Register  to view this content.
    Last edited by alansidman; 05-11-2014 at 10:24 AM. Reason: code tags

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,755

    Re: Importing text file to excel 2013

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] importing text file into excel file using macro
    By ananthbulusu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2013, 04:08 PM
  2. Importing a text file into Excel
    By JibrilBenes in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 02-18-2009, 05:31 PM
  3. importing text file to EXCEL
    By avveerkar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-21-2007, 03:25 PM
  4. Importing text file to Excel
    By zodiac in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-25-2006, 10:23 AM
  5. [SOLVED] Importing text file to excel
    By dany04 in forum Excel General
    Replies: 1
    Last Post: 11-08-2005, 09:15 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