PDA

View Full Version : User Form Shown when open VBE Editor



xaviveri
09-02-2019, 07:27 AM
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

Kenneth Hobs
09-02-2019, 09:28 AM
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