Getting Text from a form

M

Michael

Hi,

I need some code that will get a string (entered by the user) from a form.
The code will be entered into a module.

Thanks

Michael
 
D

Duane Hookom

You can possibly use something like:

Dim strMyString as String
strMyString = Forms!frmMyForm!txtMyTextBox
 
Top