![]() |
Using Nothing and Null
What should be used with range variables if they are empty - IsEmpty(r) or r
is Nothing? Provided that r is declared as Range? What is the best way to check if range contains no cells, for example list on worksheet contains only coulumns headers? Currently I use both techniques - either Set r = Nothing and later test if r Is Nothing then...or r = Null and later test if IsEmpty(r) then... Thanks Mike510 |
All times are GMT +1. The time now is 12:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com