View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Steve9491 Steve9491 is offline
external usenet poster
 
Posts: 1
Default How can I programatically move cell contents

I need to move the contents of cells to a different cell with vba, see below.
Any help is appreciated.

I need to move r2c1 to r1c3, r4c1 to r3c3 and so on. Then delete rows r2,
r4, etc.

c1 c2 c3
r1 val1 val2
r2 val3
r3 val4 val5
r4 val6

End result
c1 c2 c3
r1 val1 val2 val3
r2 val4 val5 val6