kjharve
Board Regular
- Joined
- Jan 4, 2006
- Messages
- 206
Hi,
Has anyone had any problems with the MaxLength property not working? I built an application in Excel VBA for work, in it a text box needs to be limited to 255 characters as the information is eventually written to an Access database text field.
I have set the MaxLength property to 255 but the users are experiencing errors as they are not always stopped at 255 characters. I've tried to replicate this with my local version but have had no success.
I know I could do a work around by using "len" to check whether 255 characters has been exceeded, but, well frankly I don't see that it should be necessary!
Anyone had a similar issue or maybe have an explanation? The application is run on Excel '97.
Has anyone had any problems with the MaxLength property not working? I built an application in Excel VBA for work, in it a text box needs to be limited to 255 characters as the information is eventually written to an Access database text field.
I have set the MaxLength property to 255 but the users are experiencing errors as they are not always stopped at 255 characters. I've tried to replicate this with my local version but have had no success.
I know I could do a work around by using "len" to check whether 255 characters has been exceeded, but, well frankly I don't see that it should be necessary!
Anyone had a similar issue or maybe have an explanation? The application is run on Excel '97.