+ Reply to Thread
Results 1 to 3 of 3

[SOLVED]When importing .txt leave out several Rows

  1. #1
    Registered User
    Join Date
    01-14-2010
    Location
    Den Haag, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    6

    [SOLVED]When importing .txt leave out several Rows

    Hi all,

    I have a small problem, which I guess shouldn't be to hard to solve, but I have not been able to do so yet.
    I Use the following Macro to import data from a .txt(As attached) into excel. This results in the also attached Excel sheet. I am almost happy with it, but I don't want the Return_number4501856 Totals row in there. As a matter of fact I don't want any break between the different return numbers. Does anyone know how to add this to the Macro?

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: When importing .txt leave out several Rows

    Hi,

    The following macro should do it.
    Please Login or Register  to view this content.
    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-14-2010
    Location
    Den Haag, Netherlands
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: When importing .txt leave out several Rows

    Thanx, works like a charm.

+ 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