#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default VBE Issue

I am running a program that uses the ADO object and SQL
to retrieve data from a table. When I execute the
procedure to retrieve the data (opening the connection,
etc.) I get a problem: There is a dulpicate version of
the workbook in the VBE. When I close the workbook,
there is still a VBE project with the same name just
sitting there.

1. What is causing this?

and, more importantly,

2. Does anyone know how to stop this from happening, or
unloading the duplicate project?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 599
Default VBE Issue

Seth

When you close which workbook? Post the code that you are using. Make sure
you are closing the ADODB.Connection object.

--
Dick Kusleika
MVP - Excel
www.dicks-clicks.com
Post all replies to the newsgroup.

"Seth" wrote in message
...
I am running a program that uses the ADO object and SQL
to retrieve data from a table. When I execute the
procedure to retrieve the data (opening the connection,
etc.) I get a problem: There is a dulpicate version of
the workbook in the VBE. When I close the workbook,
there is still a VBE project with the same name just
sitting there.

1. What is causing this?

and, more importantly,

2. Does anyone know how to stop this from happening, or
unloading the duplicate project?

Thanks!



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
Sum issue Tim Hill[_2_] Excel Worksheet Functions 1 October 14th 08 06:20 PM
Issue [email protected] Excel Discussion (Misc queries) 1 July 21st 06 05:13 AM
Different day, different IF issue punter Excel Discussion (Misc queries) 6 June 20th 06 01:52 PM
IIF issue Scott Excel Worksheet Functions 6 December 18th 05 07:55 PM
DV Issue Pong Excel Worksheet Functions 1 May 12th 05 08:47 PM


All times are GMT +1. The time now is 10:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"