View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
CoolBusiness CoolBusiness is offline
external usenet poster
 
Posts: 8
Default End(xlUp) question

I have a table which ends at row 5000. Using the following line in a macro
ActiveSheet.Cells(Rows.Count, "A").End(xlUp).Select
goes to row 5000 each time even thought the last row with data is much
further up. Is Excel interpreting the last row of a table as containing
data? This should be simple but I'm stumped as to why it is doing this.