View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Cone[_2_] Jim Cone[_2_] is offline
external usenet poster
 
Posts: 1,549
Default Application.Rows


How about you don't and instead use: src.Rows.Count
--
Jim Cone
Portland, Oregon USA
http://blog.contextures.com/archives...ith-excel-vba/





"kittronald"
wrote in message
...
How can you use "Application.Rows" to calculate the number of rows in
the range below ?

The defined name "Test" refers to Sheet1!$A$1:$A$2

Set src = Workbooks("Book1.xlsb").Names("Test").RefersToRang e


kittronald