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 Add-In password is requested when closing Excel

If I execute the following VBA Add-In Userform1 and Module1 code a number of
times and then exit Excel, I will be prompted to provide a password.

I'm running Excel 2000 and Windows XP SP2.



'---------- Form Code (UserForm1) ----------

Option Explicit


Private Sub cmdCancel_Click()

Me.Hide

End Sub

Private Sub cmdOK_Click()

Me.Hide

End Sub

Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer)

If CloseMode = vbFormCode Then Exit Sub

Cancel = True
Me.Hide

End Sub


'---------- Code Module ((Module1) ----------

Option Explicit



Public Sub OpenClose()

Load UserForm1

UserForm1.Show

Unload UserForm1

Set UserForm1 = Nothing

End Sub


 
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
Help requested for Excel Iteration problem Sree Excel Discussion (Misc queries) 2 June 22nd 06 09:54 PM
Password prompt appears when closing Excel RJ Lohan[_2_] Excel Programming 3 April 23rd 05 02:13 AM
Excel 2003 when closing Excel after having opened a project locked for viewing.. password prompt??? braindead Excel Discussion (Misc queries) 0 March 25th 05 01:58 PM
Help requested for an Excel Toolbar command Deanl5 Excel Discussion (Misc queries) 2 January 17th 05 01:01 AM
Add-In Password when closing Excel. Dave Peterson[_3_] Excel Programming 1 September 14th 03 08:25 PM


All times are GMT +1. The time now is 06:01 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"