+ Reply to Thread
Results 1 to 3 of 3

Having UserForm in top on other opened windows

  1. #1
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Having UserForm in top on other opened windows

    Hi Guys,

    i found very interesting code from RobDog888 here:

    http://www.vbforums.com/showthread.p...ughout-Windows

    It is working like a charm but when i am opening chrome or another browser my userform is not top one but i have to once again click Excel to acticate userform as top one.
    It is possible to do this automatically somehow to not activing all the time Excel app?

    Can anybody help?

    Jacek
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,441

    Re: Having UserForm in top on other opened windows

    To keep the user form on top of other application will require API to set window position.

    https://www.extendoffice.com/documen...ow-on-top.html


    I see the example already set the userform to top.
    Sound like you want the userform to take focus when the users switches windows. If so I would imagine that would get very annoying very quickly.
    Last edited by Andy Pope; 06-25-2020 at 02:39 AM.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    01-16-2014
    Location
    Poland
    MS-Off Ver
    Excel 2016-365
    Posts
    2,940

    Re: Having UserForm in top on other opened windows

    Thank you Andy very much!

    Hmm maybe you have right. But this will be the timer so i want to give possibility user to measure their working time and not hide userform.

    Thank you for link, i will try use it!

    Jacek

+ 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] Losing a custom menu bar within Windows menu bar when new excel session is opened.
    By SCACCHIA in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-17-2014, 04:34 PM
  2. Opening Excel File Crashes. Last opened in 2 windows. 2013
    By bowbalitic in forum Excel General
    Replies: 0
    Last Post: 10-03-2014, 12:08 AM
  3. xlsm file that is saved on Windows 7 platform crashes when opened on Windows XP platform
    By abunchofsmiles in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2012, 11:58 PM
  4. Personal Macro Workbook in Windows/Office 2007 does not open when Excel is opened
    By Rachel716 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-11-2012, 02:01 PM
  5. [SOLVED] lines in worksheet opened in Windows but created in Excel for Mac
    By Jaws125 in forum Excel General
    Replies: 3
    Last Post: 06-22-2006, 08:15 PM
  6. [SOLVED] Minimizing windows for 50+ opened books at one go
    By Max in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-17-2006, 09:20 AM
  7. 2 excel windows opened
    By filo666 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2005, 12:00 PM

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