Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
check out chip pearson's site
Don't Use The New Keyword In A Dim Statement http://www.cpearson.com/Excel/variables.htm -- Gary "RyanH" wrote in message ... Can someone tell me the difference in these two subs, if any difference at all? Sub BuildCollections() Dim colAssignedDepts As Collection Set colAssignedDepts = New Collection With colAssignedDepts .Add chkEngineering .Add chkGraphProd ' add other checkboxes End With End Sub Sub BuildCollections() Dim colAssignedDepts As New Collection With colAssignedDepts .Add chkEngineering .Add chkGraphProd ' add other checkboxes End With End Sub -- Cheers, Ryan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
declaring | Excel Programming | |||
Declaring a collection as a particular type of object or a particular class | Excel Programming | |||
How to use Excel VBA program to execute SQL SERVER stored procedur | Excel Programming | |||
charting a difference of 2 columns' w/o adding a difference column | Charts and Charting in Excel |