Related to my problem from yesterday, I have the following function launched from a macro...
Public Function DebugFormNames()
Dim F As Form
For Each F In Application.Forms
Debug.Print F.Name
Next F
Debug.Print Forms.Count
End Function
This function was a test to confirm that all forms that I opened are indeed open and programmatically accessible. However, I get an error that breaks on the "Next F" line. This error is
Run-Time Error '40036' Application defined or object error.
Any ideas anyone? Can anyone reproduce this?
Gary
gwinn7
Public Function DebugFormNames()
Dim F As Form
For Each F In Application.Forms
Debug.Print F.Name
Next F
Debug.Print Forms.Count
End Function
This function was a test to confirm that all forms that I opened are indeed open and programmatically accessible. However, I get an error that breaks on the "Next F" line. This error is
Run-Time Error '40036' Application defined or object error.
Any ideas anyone? Can anyone reproduce this?
Gary
gwinn7