+ Reply to Thread
Results 1 to 2 of 2

Non-modal userform only shows on one workbook

Hybrid View

  1. #1
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    2,984

    Non-modal userform only shows on one workbook

    Hi,
    I have some code which displays a non-modal userform. Buttons on the userform then allow the user to select ranges from any of the workbooks/sheet in that instance of Excel.

    That worked fine before the SDI stuff, but now, even though workbooks are in the same instance of Excel, the form only displays on the workbook it was called from. So it's behaving as if the workbooks are not in the same instance.

    Is there any way to have the form stay visible and be able to interact with multiple workbooks?

  2. #2
    Forum Expert
    Join Date
    07-23-2018
    Location
    UK
    MS-Off Ver
    O365 32bit (Windows)
    Posts
    2,984

    Re: Non-modal userform only shows on one workbook

    I've found this which seems to work quite well
    https://jkp-ads.com/Articles/keepuserformontop02.asp

    Doesn't seem much of an improvement to have to add all that in.

    Plus I also found out that SetText/PutInClipboard no longer works: you end up with two question marks when pasting into a cell
    A fix is here https://www.thespreadsheetguru.com/b...-the-clipboard
    yet another module of code required. Shockingly this seems to have been the case since 2015.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Change userform modal to modeless on runtime
    By jaryszek in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2019, 05:29 AM
  2. Keep Modal UserForm Alive after closing 2nd userform using 2007?
    By ShredDude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2008, 03:12 PM
  3. userform system modal?
    By thank you! in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2007, 12:03 AM
  4. Application.OnTime interrupting Modal UserForm
    By R Avery in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-03-2006, 01:40 PM
  5. [SOLVED] Modal Userform and Preview on Screen
    By Jos Vens in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2006, 05:55 PM
  6. [SOLVED] GetOpenFileName called from modal userform.. enables workbook windows. BUG?
    By keepITcool in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2005, 10:05 AM

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