View Single Post
  #2   Report Post  
papou
 
Posts: n/a
Default

Hello Fad
Range("A65536").End(xlUp).Row
Which will give the last non empty row in column A.

HTH
Cordially
Pascal


"Fad" a écrit dans le message de news:
...
I have a common macro that will run on different files. Since these files
are of different sizes, is there a function that will return the number of
rows in the file instead of going each time and change the number.

Thank you