+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : 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 Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    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.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,083

    Re: Parsing data

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

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,083

    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.6.0 RC 1