Results 1 to 13 of 13

Macro loop: Copy value down until it meets next number

Threaded View

  1. #1
    Registered User
    Join Date
    05-20-2012
    Location
    Tokyo
    MS-Off Ver
    Excel 2007
    Posts
    10

    Macro loop: Copy value down until it meets next number

    Hi, I am new to this and wonder if you can help.

    I have a text file which is generated from a mainframe computer. I need to sort the data but since there is no identifyer, I need to create a column, copy the name (highlighted in the yellow lines) from the cells that start with 'ACCESSORID = BSaaaa NAME = AAA'. Note that the 'aaaa' are numbers and will be different for each record, and so as 'AAA'.

    The name can be extracted from these lines and be taken from the characters after 'NAME ='

    So hopefully, I can use a macro to create a new column (say A) and copy the cells with names down in the new column (the name will change at every few lines when the record in the adjacent column changes.)

    Thanks very much in advance.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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