r=number of rows
How can I make r = number of rows non-empty rows -- hyyft ----------------------------------------------------------------------- hyyfte's Profile: http://www.excelforum.com/member.php...fo&userid=1318 View this thread: http://www.excelforum.com/showthread.php?threadid=26174 |
r=number of rows
Hi hyyfte
If you want to check one column try this Sub test() Dim r As Long r = Application.WorksheetFunction.CountA(Sheets("Sheet 1").Range("A:A")) MsgBox r End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "hyyfte" wrote in message ... How can I make r = number of rows non-empty rows? -- hyyfte ------------------------------------------------------------------------ hyyfte's Profile: http://www.excelforum.com/member.php...o&userid=13187 View this thread: http://www.excelforum.com/showthread...hreadid=261743 |
All times are GMT +1. The time now is 06:18 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com