View Single Post
  #12   Report Post  
Posted to microsoft.public.excel.programming
Dooza Dooza is offline
external usenet poster
 
Posts: 9
Default Help with slow Macro

Joel wrote:
Tthe problem is with the statement below. I was using column F to determine
where the lastt row was located. If there is no data in column F that would
explain thhe problem. Change the F to a column that contains data in the
last row.

Set LastCells = Range("F" & Rows.Count).End(xlUp)


That makes sense, so I tried:

Set LastCells = Range("E" & Rows.Count).End(xlUp)

But this now copies the cells to E row and overwrites the information
there. We need to get the row count of E, but use it with F.

Steve