Consulting

Results 1 to 2 of 2

Thread: User Form Shown when open VBE Editor

  1. #1
    VBAX Newbie
    Joined
    Sep 2019
    Posts
    1
    Location

    User Form Shown when open VBE Editor

    Hello,

    I have created an User form to make Visible/Hidden or VeryHidden the different sheets of the WorkSheet, and I would like to show it after introducing the password that protect VBAProject Editor Edition, that currently I have in this WorkSheet.

    Anybody, knows how to configure to activate the VBA Userform after introducing the Password?

    Many thanks

  2. #2
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,954
    Location
    Welcome to the forum!

    You can play it from the VBE or show it by one of several ways.

    1. In a Module, play:
    Sub Main
      Userform1.Show
    End Sub

Posting Permissions

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