D
draretired
I use the following code in an EXCEL add-in to swap rows:
For Col = col1 To col2
Cells(RW2, Col).Copy (ThisWorkbook.Sheets(1).Range
("A1"))
Cells(RW1, Col).Copy (Cells(RW2, Col))
ThisWorkbook.Sheets(1).Range("A1").Copy (Cells(RW1,
Col))
Next Col
It stopped working. Is there a problemm doing this?
Thanks,
Don
For Col = col1 To col2
Cells(RW2, Col).Copy (ThisWorkbook.Sheets(1).Range
("A1"))
Cells(RW1, Col).Copy (Cells(RW2, Col))
ThisWorkbook.Sheets(1).Range("A1").Copy (Cells(RW1,
Col))
Next Col
It stopped working. Is there a problemm doing this?
Thanks,
Don