-
please help me I am desperate!!!
Is it possible to pass the name of an object such as a textbox to a procedure, so the procedure can access it's properties.
A simple example of what I want to do is put the same message in 30 different text boxes.
I would be most greatful for any help, and please let me know if you need anymore info
[email protected]
Cheers
Nick
-
Is this what you are looking for....
Module1
Code:
Public Sub ShowHello(ByVal t As TextBox)
t.Text = "helloworld"
End Sub
Form1
Code:
Call ShowHello(Text1)
-
Yeah, that's it mate. I thought it was more difficult and was trying stupid things.
Thank you very much.
Nick