Very Simple example showing how to send arguments to a sub
Very Simple example showing how to send arguments to a sub
Rate Very Simple example showing how to send arguments to a sub
(3(3 Vote))
'Sub that receives variables
Private Sub TestSub(hel As String, gdbye As String)
MsgBox hel + gdbye
End Sub
'Sub that sends variables
Private Sub Form_Load()
Dim strsndvar As String
Dim strsndvartwo As String
strsndvar = "hello"
strsndvartwo = " goodbye"
Call TestSub(strsndvar, strsndvartwo)
End Sub
Very Simple example showing how to send arguments to a sub Comments
No comments yet — be the first to post one!
Post a Comment