lukeshuttlewood
Board Regular
- Joined
- Jul 27, 2004
- Messages
- 90
Hi,
Is it possible to limit the amount of characters entered in to an input box in with older versions of VBA? eg Pre 2003?
In 2003 the 'MaxLength = X' feature works but not in 2000. Any ideas?
I know I could use a user form to limit characters but I encountered a problem with that too.....what code is needed to transfer the contents of a textbox in one form to a string dimension in a seperate form?
eg with 'Comments as string' in frmMain
but i recieve method not found error.
Cheers
Luke
Is it possible to limit the amount of characters entered in to an input box in with older versions of VBA? eg Pre 2003?
In 2003 the 'MaxLength = X' feature works but not in 2000. Any ideas?
Rich (BB code):
buyercomments = InputBox("Comments Please", MaxLength = 255, buyercomments)
I know I could use a user form to limit characters but I encountered a problem with that too.....what code is needed to transfer the contents of a textbox in one form to a string dimension in a seperate form?
eg with 'Comments as string' in frmMain
Rich (BB code):
frmMain.Comments = frmComments.txtComment.text
but i recieve method not found error.
Cheers
Luke