View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mhayli mhayli is offline
external usenet poster
 
Posts: 4
Default Selecting last row

I would like to write a macro in which a worksheet is firstly unprotected,
then the last row in the data entry field is copied then the row is "insert
copied row". The last data row may or may not have data in it and the row
number is variable. However, the last row into which data is entered is
always above a row that has "average" in the first column of that row.

Can tell me how I would write code to select the row above the "average" row??

Thanks.