Chip Pearson explains it at:
http://www.cpearson.com/excel/variables.htm
Look for:
Don't Use The New Keyword In A Dim Statement
pacer1 wrote:
Dave your:
If CheckEmpty.Count 20 Then
Set CheckEmpty = New Collection
End If
does exactally what I am looking for. Thanks.
One other quick question. You used:
Option Explicit
Sub CollectionEmptyTry()
Dim CheckEmpty As Collection
Set CheckEmpty = New Collection
Is there any preference over just using:
Option Explicit
Dim CheckEmpty as New Collection
Thanks,
Pace
--
Dave Peterson