View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
pvdalen[_2_] pvdalen[_2_] is offline
external usenet poster
 
Posts: 5
Default Moving entire rows

Howdy,

First of all, I did search topics and attempt a solution listed before
posting, so I feel slightly vindicated, if not accomplished.

Within a macro, I'm comparing the values from 2 sheets. Among other things,
when equivalency is found, I'd lik to copy the entire row of the active cells
(all within the same row) to a third sheet.

I tried the following:

Worksheets("Third").Cells(Row variable, 1).EntireRow = Cells(Row
variable2,1).EntireRow.Copy

That didn't work, so I came here and searched for a solution that led me to
try:

Cells(Row variable2,1).EntireRow.Copy Destination :=
Worksheets("Third").EntireRow

Oddly enough, all I got from that attempt was, seemingly, the boolean result
of the equivalency test, as all cells in the destination row were filled with
"TRUE", but I've no real clue how that result was generated.

Any help would be greatly appreciated. Thanks a bunch.

Paul