Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 1st, 2004, 12:29 PM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default VBAProject Password closing Excel

The "VBAProject Password" form pops up after closing the workbook/application and trying to close the Excel application.

Either, typing the password or clicking cancel, the application is closed. Does somebody know how find out why is happening and how to correct that issue?

Thanks
[email protected]

 
Old December 4th, 2004, 09:41 AM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

:) I found the problem.

It was related to running a procedure querying an Excel file with ODBC connection: ODBC;Driver={Microsoft Excel Driver (*.xls)}...

Although the procedure runs fine and ends with no errors, it is generating an memory error that is just evident when closing the Excel application, even with no error/alert message from Excel, besides the VBAProject Password one (if the project is not protected, you do not get that form).

I am using and ADODB connection now with no other issues.

JD








Similar Threads
Thread Thread Starter Forum Replies Last Post
FORGOT EXCEL PASSWORD prasanta2expert Excel VBA 4 March 17th, 2010 05:23 AM
open password for excel files in VBscript lambin VB Databases Basics 0 January 24th, 2008 05:05 AM
using excel VB to input username and password tappenchris Excel VBA 0 November 24th, 2006 02:08 AM
Closing Excel Workbook rekha_jsr Excel VBA 0 July 9th, 2005 02:40 AM
Closing Excel hek Excel VBA 2 October 29th, 2004 10:22 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.