![]() |
Application.Rows
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 |
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 |
Application.Rows
Jim,
That'll do it ! Thanks. kittronald |
All times are GMT +1. The time now is 08:27 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com