Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Excel app now requires password

Hello,
I have an Excel VBA app in which an open VBA workbook opens via automation
another Workbook and copies into it some worksheets from it per below:

For ndx = 3 To Workbooks("Quotes.xls").Worksheets.Count
Workbooks("Quotes.xls").Activate
Workbooks("Quotes.xls").Worksheets(ndx).Copy
After:=Workbooks(strFileNm).Worksheets(Workbooks(s trFileNm).Worksheets.Count
Next ndx

The code for both books is password protected and previously there was no
problem copying the worksheets from the first into the latter. But now when
the above code is performed, the prompt to enter the VBA Project password to
unlock the code comes up, which it didn't do before.
Any ideas what may have caused the change? I don't use this routine a lot
but the app was originally functioning under Office 2000, and now is under
Office/Excel 2003-did something change in the 2003?
Thanks, God bless
Van
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Excel app now requires password

I don't see anything in your code that would do this.

Maybe it's not excel.

There was a problem a few months ago with google desktop. IIRC, it would try to
index the project while the workbook was open and cause the password to the
project to pop up.

Do you have any of those type programs running? (MSN has a version, too.)

(That was a complete guess, though.)

If that doesn't work, I'd try disabling the antivirus software--an even more
complete guess!

VanS wrote:

Hello,
I have an Excel VBA app in which an open VBA workbook opens via automation
another Workbook and copies into it some worksheets from it per below:

For ndx = 3 To Workbooks("Quotes.xls").Worksheets.Count
Workbooks("Quotes.xls").Activate
Workbooks("Quotes.xls").Worksheets(ndx).Copy
After:=Workbooks(strFileNm).Worksheets(Workbooks(s trFileNm).Worksheets.Count
Next ndx

The code for both books is password protected and previously there was no
problem copying the worksheets from the first into the latter. But now when
the above code is performed, the prompt to enter the VBA Project password to
unlock the code comes up, which it didn't do before.
Any ideas what may have caused the change? I don't use this routine a lot
but the app was originally functioning under Office 2000, and now is under
Office/Excel 2003-did something change in the 2003?
Thanks, God bless
Van


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Excel app now requires password

Dave,
Thanks for your reply.I don't have the Google app. But I tried something and
it worked for some reason I don't fully understand.
Thanks again, God bless
Van S. Mabrito
"Dave Peterson" wrote:

I don't see anything in your code that would do this.

Maybe it's not excel.

There was a problem a few months ago with google desktop. IIRC, it would try to
index the project while the workbook was open and cause the password to the
project to pop up.

Do you have any of those type programs running? (MSN has a version, too.)

(That was a complete guess, though.)

If that doesn't work, I'd try disabling the antivirus software--an even more
complete guess!

VanS wrote:

Hello,
I have an Excel VBA app in which an open VBA workbook opens via automation
another Workbook and copies into it some worksheets from it per below:

For ndx = 3 To Workbooks("Quotes.xls").Worksheets.Count
Workbooks("Quotes.xls").Activate
Workbooks("Quotes.xls").Worksheets(ndx).Copy
After:=Workbooks(strFileNm).Worksheets(Workbooks(s trFileNm).Worksheets.Count
Next ndx

The code for both books is password protected and previously there was no
problem copying the worksheets from the first into the latter. But now when
the above code is performed, the prompt to enter the VBA Project password to
unlock the code comes up, which it didn't do before.
Any ideas what may have caused the change? I don't use this routine a lot
but the app was originally functioning under Office 2000, and now is under
Office/Excel 2003-did something change in the 2003?
Thanks, God bless
Van


--

Dave Peterson

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
Consuming a web service in Excel 2003 that requires a certificate [email protected] Excel Programming 0 October 12th 05 01:18 PM
How do I get external web data that requires a password? praskal Excel Programming 1 April 7th 05 11:36 AM
display data from a website in excel that requires a username/password John Williams[_5_] Excel Programming 2 November 19th 04 02:34 PM
Need code that requires password every 120 days bruce forster Excel Programming 2 May 6th 04 05:16 AM
How to record a New Web Query that requires login + password. J e r Excel Programming 2 February 13th 04 12:34 PM


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