View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
shirley shirley is offline
external usenet poster
 
Posts: 1
Default how to direct users to the empty row below the last record in excel

Hi to all,

thanks for the help.
when i added in the code

dim mysheet as worksheet
set mysheet=activeworkbook.worksheets("Sheet6")

mySheet.Cells(activesheet.Cells(Rows.Count,"A").En d(xlUp).Row,7).Activate

i received an error = "subscript out of range"

what is wrong? btw, does the code mean to count through all rows, g
to the last record which is the last row? what does 7 means

--
Message posted from http://www.ExcelForum.com