+ Reply to Thread
Results 1 to 5 of 5

Can't set userform to modeless!

  1. #1
    Registered User
    Join Date
    05-29-2010
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    27

    Can't set userform to modeless!

    Hi, i'm calling a userform that is being populated with data from another workbook. The code opens the sourcebook and keeps it in read-only modus until i close the userform which is fine. However it seems that this prevents me from setting my userform to vbmodeless! I tried false true app.enableevents but to no avail.. Below is the Initialize event of the form. Does anybody have any idea to fix this? Thank you very much!
    Please Login or Register  to view this content.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Can't set userform to modeless!

    Hi fcb1900

    You didn't post the code that opens the Userform but I'd assume it looks (or shoud look like) this

    Please Login or Register  to view this content.
    Hope this helps.
    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    05-29-2010
    Location
    Greece
    MS-Off Ver
    Excel 2007
    Posts
    27

    Re: Can't set userform to modeless!

    Hi John, thanks for your answer, yes of course it does look like this

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Can't set userform to modeless!

    Hi fcb1900

    Sorry then, have no clue.

    John

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Can't set userform to modeless!

    It might help if you put ScreenUpdating back to True
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1