Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hornsby wrote:
I need to move every other number in a column of numbers to an adjacent column and then close the gap. Example: Move a2 to b1 and delet row 2, move a4 to b2 and delete row 4. I need to repeat this task 25,000 times. Recording a macro doesn't seem to work. If the functions in the freely downloadable file at http://home.pacbell.net/beban are available to your workbook Sub qwerty() Dim arr arr = Range("a1:a25000") arr = ArrayReshape(arr, 12500, 2) Range("A1").Resize(12500, 2).Value = arr Range("a12501:a25000").ClearContents End Sub Alan Beban |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sort Not Working on Column of Numbers | Excel Worksheet Functions | |||
How can I convert a group of numbers to a group of letters? | Excel Worksheet Functions | |||
how to change a formula for a large group of cells | Excel Worksheet Functions | |||
large numbers not losing the end without formatting column | Excel Discussion (Misc queries) | |||
Working with a large group of numbers | Excel Worksheet Functions |