Duplication in VBA Project Explorer

User avatar
Don Wells
5StarLounger
Posts: 689
Joined: 27 Jan 2010, 16:45
Location: Ottawa, Ontario, Canada

Duplication in VBA Project Explorer

Post by Don Wells »

2013-01-29_0942.png
I am running VBA under Excel 2003 SP3

Within the code, I open any one of a number of workbooks; manipulate the data within it; then save and close it. However on closing the file, its artifact remains in the VBA Project explorer. If the next instance of running the code (within the same Excel session) calls for the same workbook to be opened, a duplicate of the project is created in the Project explorer.

Has anyone else come across this behaviour? Any thoughts?
You do not have the required permissions to view the files attached to this post.
Regards
Don

User avatar
HansV
Administrator
Posts: 78494
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Duplication in VBA Project Explorer

Post by HansV »

This behavior may be caused by an add-in. Try starting Excel without add-ins to see if the problem goes away. See Fixing Startup problems by Jan Karel Pieterse. Despite the title, it's not just for startup problems.
Best wishes,
Hans

User avatar
Don Wells
5StarLounger
Posts: 689
Joined: 27 Jan 2010, 16:45
Location: Ottawa, Ontario, Canada

Re: Duplication in VBA Project Explorer

Post by Don Wells »

Thanks for the reminder Hans. I will try that.
Regards
Don