Results 1 to 3 of 3

Thread: How can you iterate through all open forms in your program?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    How can you iterate through all open forms in your program?

    Anyone know how to do this?

  2. #2
    Frenzied Member
    Join Date
    Jun 2006
    Posts
    1,098

    Re: How can you iterate through all open forms in your program?

    VB Code:
    1. Dim frm As Form
    2.  
    3. For Each frm In Forms
    4.   MsgBox frm.Name
    5. Next frm

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    Re: How can you iterate through all open forms in your program?

    thanks much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width