is there a way to overload a function in vba?
ie
public sub myfunc(a, as integer, b as integer)
end sub

and

private sub myfunc()
end sub

where the private sub is used for the 'local' userform - and the public sub
is called by an outside module (where a and b would be the arguments that
would normally be accessed by the userform, but in this case need to be
passed)

?