LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Creating a Userform

I have an excel file where I call a "Workbook_Open" subroutine from the
"ThisWorkbook" subheading in the Mircosoft Excel Objects. Before I call
this subroutine, I want to hide all of my sheets (1, 2, and 3) and then
I want to call a userform that prompts for a username and password. If
the username and password are correct, then the userform should call my
"Workbook_Open" subroutine and unhide the hidden sheets.

I had some code I saw on another topic, but I couldn't get it to call
my subroutine ("Workbook_Open") after it validated my username and
password.

Anybody have a suggestion here. I can make the userform but I'm not
sure where to insert the code.

Thanks for the help!

Ben

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a lookup in a userform BJ&theBear Excel Discussion (Misc queries) 4 March 17th 10 06:51 PM
Creating first ever userform but not going how I wanted WhiteFalcon Excel Programming 4 May 11th 05 12:00 AM
Creating a Userform using code trini Excel Programming 1 March 5th 05 11:15 PM
Creating Temporary Userform with checkboxes [email protected] Excel Programming 1 February 13th 05 01:39 PM
Need help creating a userform with optionbuttons TB[_2_] Excel Programming 2 July 21st 03 02:16 PM


All times are GMT +1. The time now is 10:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"