dellehurley
Board Regular
- Joined
- Sep 26, 2009
- Messages
- 171
- Office Version
- 365
- Platform
- Windows
I know this is very simple but I cannot find the answer anywhere.
How do I refer to a table when declaring a with statement (eg below)
Form_frmFileName works for a form however neither Table_tblFileName or simply tblFileName work.
Thanks in advance.
Dannielle
How do I refer to a table when declaring a with statement (eg below)
Form_frmFileName works for a form however neither Table_tblFileName or simply tblFileName work.
VBA Code:
With Table_tblFileName
.txtFileName.Value = FileName
.txtFileNo.Value = FileNo
End with
Thanks in advance.
Dannielle