Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a report that comes from our mainframe. Each record is on two
rows. I need to copy every second row (i.e. A2:B2) to the right of the data on the first row (i.e. H1) and then delete the second row. Here's what I tried: 1) Filter for something unique in the first row of each record 2) Select visible cells in column H 3) Add a formula to column H to pick up the values from the second row 4) Convert formulas to values in column H 5) Filter for something unique in the second row of each record 6) Select visible cells 7) Delete (visible) rows (i.e. every seond row) This worked fine when I was working with 10,000 records. But when my report contains more than 20,000 records, Excel cannot select visible cells. I get a message saying it's too complex. I tried looping through the cells and it gets the job done but with 40,000 records, it's s-l-o-o-o-o-w. Any suggestions for another workaround. Assume that the first row in each record has data in columns A:G and the second row has data in columns A:B. I appreciate your help. Joe |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting and Copying Marco code | Excel Discussion (Misc queries) | |||
Copying data to excel and deleting duplicates | Excel Discussion (Misc queries) | |||
copying deleting in excel vba code | Excel Programming | |||
Deleting rows after copying data | Excel Programming | |||
Dynamically locating value; selecting that row and everything above (or below) and deleting/copying | Excel Programming |