Consulting

Results 1 to 3 of 3

Thread: Stop userform from loading

  1. #1
    VBAX Regular
    Joined
    Oct 2006
    Location
    Columbus, GA
    Posts
    42
    Location

    Stop userform from loading

    I am preparing a report in workbook1 and I need to open workbook2 to get some data and then close workbook2. Workbook2 has a userform loading upon opening. Is there a way to stop the userform from loading in workbook2 when being openned by another workbook? It stops my processing in workbook1 until I close the userform in workbook2.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    [VBA]Application.EnableEvents = False[/VBA]
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Regular
    Joined
    Oct 2006
    Location
    Columbus, GA
    Posts
    42
    Location
    Thank you for the help!

Posting Permissions

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