Results 1 to 3 of 3
  1. #1
    mailbox$1 is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2023
    Posts
    3

    How can I know in one from if another form is open?


    How can I know in one from if another form is open and, if it is open, close it? I want to structure an IF statement something like this:

    IF (another form) is open THEN
    VBA code to close (another form)
    ENDIF

    Thanks.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,997
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    mailbox$1 is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2023
    Posts
    3
    Thanks for the suggestion. Got it to work.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 01-30-2022, 01:34 AM
  2. Replies: 1
    Last Post: 03-02-2014, 01:31 PM
  3. Replies: 2
    Last Post: 08-07-2013, 07:44 AM
  4. Replies: 1
    Last Post: 05-03-2012, 02:25 PM
  5. Replies: 2
    Last Post: 02-26-2010, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums