Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Excel asks for addin password on exit

Hi!

I have developed an application that runs as an Excel (XP) addin.
Recently I was adding some new features and I must have done something
odd, because every time I exit Excel now, it asks me for the addin's
password! It pops up a small dialog box with the title "XYZ
password", where XYZ is my project's name. Here are some details:

1. When the "XYZ password" dialog appears, I can only proceed either
by entering my project's protection password or by clicking on Cancel
(or hitting Escape) 21 times (!!!)

2. The above occurs after Excel has disappeared from the taskbar as a
running application but can still be found as a running process in the
Task Manager.

3. I have inserted checkpoints throughout my cleanup code that runs
when the application is closed (i.e. my Workbook_BeforeClose event
handler) and I have made sure that the problem occurs after my addin
has finished running ALL its code.

4. I have checked all the new code I have added and I'm quite certain
there is nothing that could reasonably be related to this behavior.

4. My application has an Exit command that unloads itself through a
ThisWorkbook.Close command, executing the same cleanup code as above.
Inexplicably, when I do this and then exit Excel, everything is normal
and no password request appears!

5. Once or twice, instead of asking me for my project's password,
Excel asked for that of FUNCRES.XLA, its own Analysis ToolPak, which
was loaded at the time.

I am going crazy trying to figure out what can possibly be going on
here. In the meantime, I can't very well release the application to
the users and tell them to hit Cancel 21 times when they finish...
Any ideas please?

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Excel asks for addin password on exit

Hi Karl

The Problem is Google Desktop
Uninstall it and try again

--
Regards Ron de Bruin
http://www.rondebruin.nl


"Karl" wrote in message om...
Hi!

I have developed an application that runs as an Excel (XP) addin.
Recently I was adding some new features and I must have done something
odd, because every time I exit Excel now, it asks me for the addin's
password! It pops up a small dialog box with the title "XYZ
password", where XYZ is my project's name. Here are some details:

1. When the "XYZ password" dialog appears, I can only proceed either
by entering my project's protection password or by clicking on Cancel
(or hitting Escape) 21 times (!!!)

2. The above occurs after Excel has disappeared from the taskbar as a
running application but can still be found as a running process in the
Task Manager.

3. I have inserted checkpoints throughout my cleanup code that runs
when the application is closed (i.e. my Workbook_BeforeClose event
handler) and I have made sure that the problem occurs after my addin
has finished running ALL its code.

4. I have checked all the new code I have added and I'm quite certain
there is nothing that could reasonably be related to this behavior.

4. My application has an Exit command that unloads itself through a
ThisWorkbook.Close command, executing the same cleanup code as above.
Inexplicably, when I do this and then exit Excel, everything is normal
and no password request appears!

5. Once or twice, instead of asking me for my project's password,
Excel asked for that of FUNCRES.XLA, its own Analysis ToolPak, which
was loaded at the time.

I am going crazy trying to figure out what can possibly be going on
here. In the meantime, I can't very well release the application to
the users and tell them to hit Cancel 21 times when they finish...
Any ideas please?

Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel asks for addin password on exit

Thanks a lot Ron! That did the trick!


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Reply
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
link from web page to excel asks for username and password BC Excel Discussion (Misc queries) 0 October 18th 09 04:40 PM
link to workbook from web page asks for username and password BC Excel Discussion (Misc queries) 0 October 16th 09 03:56 PM
Excel 2003 asks me for a protected worksheet password every time I start Excel Liam Weston Excel Programming 0 May 24th 04 03:14 PM
Macro that asks for password Jonsson Excel Programming 0 October 8th 03 12:11 PM
Web Folders - Excel file -- asks for password again Chris Knight Excel Programming 0 September 6th 03 12:02 AM


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