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