+ Reply to Thread
Results 1 to 2 of 2

Hi! Need help to automatically show userform and running the workbook in background

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    China
    MS-Off Ver
    Office 365
    Posts
    18

    Post Hi! Need help to automatically show userform and running the workbook in background

    Hi VBA master,

    I would like to ask a trivial problem

    So in my case, I would like to make a 'login form' to access my excel file, and I did it.
    However, to make it more professional, when user open my excel file, I want the userform to be shown first, which is my login form and after user successfully provide their credential then the excel workbook will be served.

    I've searched the solution and tried some, but it didn't fulfill my expectation, because the excel workbook will be opened in a glitch before the userform. Any recommendation of VBA code to fix the glitch?

    Current code that I use is located in "This workbook" and here is the code:

    [
    Please Login or Register  to view this content.
    ]


    Please enlighten me. Thanks
    Last edited by mbrillian; 06-04-2020 at 06:55 AM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,859

    Re: Hi! Need help to automatically show userform and running the workbook in background

    Code Tags Added
    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. automatically open UserForm hide excel in background
    By KOKOSEK in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2020, 11:03 AM
  2. How to show a Progress bar while macro is running in background?
    By pradeepjassal in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2015, 07:47 PM
  3. Put userform in background and workbook in foreground
    By sebastienkanj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-10-2013, 09:05 AM
  4. show userform while another code is running
    By aliemara in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-29-2013, 10:57 PM
  5. Opening workbook from userform keeping userform at background..
    By cooldude113322 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-05-2012, 12:14 PM
  6. [SOLVED] Show Userform while code is running
    By Joakim N in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-24-2012, 04:35 AM
  7. show userform ontop of anything that is happening in the background in excel
    By gosa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2012, 05:57 PM

Tags for this Thread

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