Getting Text from a form

  • Thread starter Thread starter Michael
  • Start date Start date
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
 
You can possibly use something like:

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