LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default Create login popup for excel worksheet

Hi Maninder,

Any excel file in the following folder will open automatically when Excel
starts

"C:\Documents and Settings\naveen\Application Data\Microsoft\Excel\XLStart\"

Create a form in an Excel file in the above folder. In that form, you can
write the code to accept the user name and password and if they tally you can
allow to enter him to go ahead or you can just quit the excel.

For your reference I have pasted the entire form which I have created for you.

================================================== ===
VERSION 5.00
Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} Welcome
Caption = "Wel Come"
ClientHeight = 3330
ClientLeft = 45
ClientTop = 435
ClientWidth = 4305
OleObjectBlob = "Welcome.frx":0000
StartUpPosition = 1 'CenterOwner
End
Attribute VB_Name = "Welcome"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdOPENEXCEL_Click()
If UCase(txtUNAME.Text) = "NAVEEN" And UCase(txtPWD.Text) = "NAVEEN" Then
End
End If
End Sub

Private Sub cmdQuit_Click()
Application.Quit
End Sub
================================================== ===

With kind regards
NAVEEN


"maninder" wrote:


Hello there... i want to create a popup which will appear when i will
open an Excel sheet and ask for user name and password. Please guide
me. Thanks in advance.


--
maninder
------------------------------------------------------------------------
maninder's Profile: http://www.excelforum.com/member.php...o&userid=31793
View this thread: http://www.excelforum.com/showthread...hreadid=515201


 
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
is it possible to set popup reminders in a excel worksheet ed Excel Discussion (Misc queries) 5 August 2nd 13 07:27 PM
How to create Login & Log out Spread sheet in Excel with automated Attendance sheet marc5354 Excel Worksheet Functions 2 September 21st 10 04:22 PM
How do I create a popup notification in excel ? Bear Hunter Excel Worksheet Functions 8 November 16th 06 11:26 PM
Popup login dialog Daisy[_3_] Excel Programming 0 April 29th 04 02:16 PM
how do I create a login for a spread sheet BBB Excel Programming 0 August 18th 03 09:38 PM


All times are GMT +1. The time now is 12:39 AM.

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"