Consulting

Page 2 of 2 FirstFirst 1 2
Results 21 to 23 of 23

Thread: Make userform stay on top of all windows when macro is fired

  1. #21
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,724
    Location
    OP is running Win7 Ultimate 64 bit (Post #15) with 32 bit Office (assuming from Post #17)

    I added Option Explicit to Leith's workbook's -- Rem ver 32 bit.xlsb (Post #16) -- including the UserForm1, fixed some undefined references and changed Global to Public


    Largest issue (and the one causing the 424 - Object Required error message - was in the initialization for the Userform1 since there was no module named 'Keep_Form_On_Top'

    Capture.JPG


    Seems to run OK under Win10 (64) Office 2016 (32) - if it does what is wanted is another story
    Attached Files Attached Files
    ---------------------------------------------------------------------------------------------------------------------

    Paul


    Remember: Tell us WHAT you want to do, not HOW you think you want to do it

    1. Use [CODE] ....[/CODE ] Tags for readability
    [CODE]PasteYourCodeHere[/CODE ] -- (or paste your code, select it, click [#] button)
    2. Upload an example
    Go Advanced / Attachments - Manage Attachments / Add Files / Select Files / Select the file(s) / Upload Files / Done
    3. Mark the thread as [Solved] when you have an answer
    Thread Tools (on the top right corner, above the first message)
    4. Read the Forum FAQ, especially the part about cross-posting in other forums
    http://www.vbaexpress.com/forum/faq...._new_faq_item3

  2. #22
    VBAX Newbie
    Joined
    Apr 2022
    Posts
    1
    Location
    I am using excel 365 64 bit , and the code no longer works

    thanks for the help

  3. #23
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    MS Office UserForms are for local use. Office365 UserForms are for Intra/Inter Net sites.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

Posting Permissions

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