RhinoBull, I ran the code exactly as described above and it didn't work.
vb Code:
'these declares are in a module Global test1 As String Global test2 As Integer Global test3 As String 'this is in a commandbutton on Form1 Private Sub Command1_Click() test1 = "hello world" test2 = 5 test3 = "testing 1 2 3" MsgBox CallByName(Me, Text1.Text, VbGet) End Sub




Reply With Quote