Passing two objects to subroutine, not working?

  • Thread starter Thread starter musa.biralo
  • Start date Start date
M

musa.biralo

Hi,

i am just a beginner and i don't understand why the following simple
codes is not working.. I just want to pass two strings to my
subroutine. any help will be great!!!

Sub test()
subroutine ("first", "second")
End Sub

Sub subroutine(ByVal one As String, ByVal two As String)
MsgBox (one & two)
End Sub

Thanks
musa.biralo
 
Back
Top