R rob nobel Dec 5, 2003 #1 Is there a problem or purpose in calling the start of a procedure with just Sub instead of the Private/Public/Static Sub? Rob
Is there a problem or purpose in calling the start of a procedure with just Sub instead of the Private/Public/Static Sub? Rob
J J.E. McGimpsey Dec 6, 2003 #2 No. Default is Public so Sub foo() is equivalent to Public Sub foo() I like the latter simply because it makes the scope explicit.
No. Default is Public so Sub foo() is equivalent to Public Sub foo() I like the latter simply because it makes the scope explicit.
R rob nobel Dec 6, 2003 #3 So true and a clear answer. Thank you. Rob J.E. McGimpsey said: No. Default is Public so Sub foo() is equivalent to Public Sub foo() I like the latter simply because it makes the scope explicit. Click to expand...
So true and a clear answer. Thank you. Rob J.E. McGimpsey said: No. Default is Public so Sub foo() is equivalent to Public Sub foo() I like the latter simply because it makes the scope explicit. Click to expand...