Reputation: 5719
How to specify default value for a parameter in VB6?
Upvotes: 20
Views: 20217
Reputation: 60065
Private Sub SomeSub(Optional SomeParam As Integer = 0) ' blah End Sub
Upvotes: 36