+ Reply to Thread
Results 1 to 4 of 4

Thread: Parsing data

  1. #1
    Registered User
    Join Date
    10-21-2011
    Location
    Texas
    MS-Off Ver
    Excel 2003
    Posts
    1

    Parsing data

    I am attempting to loop the following by offsetting one row then parsing to the offset row. I don't know how to make "Range("A1") offset for the parsing.


    Application.CutCopyMode = False
    Selection.TextToColumns Destination:=Range("A1"), DataType:=xlFixedWidth, _
    FieldInfo:=Array(Array(0, 1), Array(1, 1), Array(7, 1), Array(12, 1), Array(20, 1), _
    Array(26, 1), Array(31, 1), Array(40, 1), Array(50, 1), Array(59, 1), Array(65, 1), Array( _
    70, 1), Array(80, 1)), TrailingMinusNumbers:=True
    ActiveCell.Offset(1, 0).Activate

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,764

    Re: Parsing data

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then edit your post to add CODE tags.

    Posting an example workbook would help to see what you're trying to do.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,180

    Re: Parsing data

    Why are you doing text to columns on individual cells and offsetting down the sheet?

    Regards

  4. #4
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,180

    Re: Parsing data

    @shg: apologies ... Looked at the title, thought that was ok and never even considered the code

    Posts overlapped'ish

+ 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.2.0