![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I should add that the first line of code is actually : - on Error resume Next I have removed the tag from all of the objects which do not have a locked and enabled property and it now works fine. I don't understand why it worked well for so long until today? Another form which had no amendments to it but has a similar Form Current coding gave the 438 error as well. I'm never happy when things happen that shouldn't! Hi Bobby, |
#4
| |||
| |||
|
|
On 2012-01-23 6:00 PM, BobbyDazzler wrote:> I should add that the first line of code is actually : - on Error resume Next I have removed the tag from all of the objects which do not have a locked and enabled property and it now works fine. *I don't understand why it worked well for so long until today? *Another form which had no amendments to it but has a similar Form Current coding gave the 438 error as well. *I'm never happy when things happen that shouldn't! Hi Bobby, Which of the form objects does ctl refer to when the code bombs out and what type of object is it ? |
) I had assumed that the original code worked by
#5
| |||
| |||
|
|
On Jan 23, 5:21*pm, Jan T <access... (AT) yahoo (DOT) com> wrote: On 2012-01-23 6:00 PM, BobbyDazzler wrote:> I should add that the firstline of code is actually : - on Error resume Next I have removed the tag from all of the objects which do not have a locked and enabled property and it now works fine. *I don't understand why it worked well for so long until today? *Another form which hadno amendments to it but has a similar Form Current coding gave the 438 error as well. *I'm never happy when things happen that shouldn't! Hi Bobby, Which of the form objects does ctl refer to when the code bombs out and what type of object is it ? I don't know Jan ) *I had assumed that the original code worked byignoring any errors (on Error Resume Next) but now I'm not so sure. *I have fixed it anyway by removing the tag from all objects which do not have the enabled and locked properties. *Thanks for your post. |
![]() |
| Thread Tools | |
| Display Modes | |
| |