+ Reply to Thread
Results 1 to 10 of 10

VBA projects!! Aaaargh!

  1. #1
    Forum Contributor
    Join Date
    12-04-2003
    Posts
    360

    VBA projects!! Aaaargh!

    Does anyone know why the following happens?

    I'm using excel XP/2002, Office SP3.

    I open an instance of excel and the vba editor so I can see both.
    I open and excel file that contains code.

    The VBA project appears in the editor.

    I close the excel workbook.

    The VBA project still shows the VBA Project.

    Why doesn't the VBA Project automatically unload?

    TIA,
    MAtt.

  2. #2
    Charlie
    Guest

    RE: VBA projects!! Aaaargh!

    Are you using Google Desktop? I saw someone post a few days ago something
    about that being the cause.

    "MattShoreson" wrote:

    >
    > Does anyone know why the following happens?
    >
    > I'm using excel XP/2002, Office SP3.
    >
    > I open an instance of excel and the vba editor so I can see both.
    > I open and excel file that contains code.
    >
    > The VBA project appears in the editor.
    >
    > I close the excel workbook.
    >
    > The VBA project still shows the VBA Project.
    >
    > Why doesn't the VBA Project automatically unload?
    >
    > TIA,
    > MAtt.
    >
    >
    > --
    > MattShoreson
    > ------------------------------------------------------------------------
    > MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
    > View this thread: http://www.excelforum.com/showthread...hreadid=494088
    >
    >


  3. #3
    Charlie
    Guest

    RE: VBA projects!! Aaaargh!

    I found this registry change in an earlier post:

    (HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\Office.Desktop.Google.com\LoadBehaivor=2)

    "Charlie" wrote:

    > Are you using Google Desktop? I saw someone post a few days ago something
    > about that being the cause.
    >
    > "MattShoreson" wrote:
    >
    > >
    > > Does anyone know why the following happens?
    > >
    > > I'm using excel XP/2002, Office SP3.
    > >
    > > I open an instance of excel and the vba editor so I can see both.
    > > I open and excel file that contains code.
    > >
    > > The VBA project appears in the editor.
    > >
    > > I close the excel workbook.
    > >
    > > The VBA project still shows the VBA Project.
    > >
    > > Why doesn't the VBA Project automatically unload?
    > >
    > > TIA,
    > > MAtt.
    > >
    > >
    > > --
    > > MattShoreson
    > > ------------------------------------------------------------------------
    > > MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
    > > View this thread: http://www.excelforum.com/showthread...hreadid=494088
    > >
    > >


  4. #4
    Charlie
    Guest

    RE: VBA projects!! Aaaargh!

    P.S. Note the possible misspelling of LoadBehavior in that registry entry. I
    don't know if it is misspelled in the example or that is how it is really
    spelled in the registry. I don't have Google Desktop on this machine.

    "Charlie" wrote:

    > I found this registry change in an earlier post:
    >
    > (HKEY_CURRENT_USER\Software\Microsoft\Office\Excel\Addins\Office.Desktop.Google.com\LoadBehaivor=2)
    >
    > "Charlie" wrote:
    >
    > > Are you using Google Desktop? I saw someone post a few days ago something
    > > about that being the cause.
    > >
    > > "MattShoreson" wrote:
    > >
    > > >
    > > > Does anyone know why the following happens?
    > > >
    > > > I'm using excel XP/2002, Office SP3.
    > > >
    > > > I open an instance of excel and the vba editor so I can see both.
    > > > I open and excel file that contains code.
    > > >
    > > > The VBA project appears in the editor.
    > > >
    > > > I close the excel workbook.
    > > >
    > > > The VBA project still shows the VBA Project.
    > > >
    > > > Why doesn't the VBA Project automatically unload?
    > > >
    > > > TIA,
    > > > MAtt.
    > > >
    > > >
    > > > --
    > > > MattShoreson
    > > > ------------------------------------------------------------------------
    > > > MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
    > > > View this thread: http://www.excelforum.com/showthread...hreadid=494088
    > > >
    > > >


  5. #5

    Re: VBA projects!! Aaaargh!

    Because Bill Gates is an idiot?!?

    MattShoreson wrote:
    > Does anyone know why the following happens?
    >
    > I'm using excel XP/2002, Office SP3.
    >
    > I open an instance of excel and the vba editor so I can see both.
    > I open and excel file that contains code.
    >
    > The VBA project appears in the editor.
    >
    > I close the excel workbook.
    >
    > The VBA project still shows the VBA Project.
    >
    > Why doesn't the VBA Project automatically unload?
    >
    > TIA,
    > MAtt.
    >
    >
    > --
    > MattShoreson
    > ------------------------------------------------------------------------
    > MattShoreson's Profile: http://www.excelforum.com/member.php...fo&userid=3472
    > View this thread: http://www.excelforum.com/showthread...hreadid=494088



  6. #6
    Forum Contributor
    Join Date
    12-04-2003
    Posts
    360
    Higly likely.

    I've noticed that it only holds the reference to the last file opened.

    So if I open book2, then book3 and then close all books, the only reference held is book3.

  7. #7
    Registered User
    Join Date
    08-05-2006
    Posts
    1

    VBA Projects

    Matt,

    I just read your post about Excel XP SP3 not unloading the VA Projects when you close a workbook. I am experiencing the same problem. Did you find a Solution?

    Tim Hannon

  8. #8
    Forum Contributor
    Join Date
    12-04-2003
    Posts
    360
    Tim,

    Sorry to say - nope.
    There's not much around on this one and no-one has given a decent answer/possible direction in avoiding.

  9. #9
    NickHK
    Guest

    Re: VBA projects!! Aaaargh!

    Matt,
    From your description of only affecting the last WB, do you have some addin
    interacting with the ActiveWorkbook ?
    And I assume you don't have Google Desktop installed ?

    NickHK

    "MattShoreson" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Tim,
    >
    > Sorry to say - nope.
    > There's not much around on this one and no-one has given a decent
    > answer/possible direction in avoiding.
    >
    >
    > --
    > MattShoreson
    > ------------------------------------------------------------------------
    > MattShoreson's Profile:

    http://www.excelforum.com/member.php...fo&userid=3472
    > View this thread: http://www.excelforum.com/showthread...hreadid=494088
    >




  10. #10
    Forum Contributor
    Join Date
    12-04-2003
    Posts
    360
    From your description of only affecting the last WB, do you have some addin
    interacting with the ActiveWorkbook ?


    Addins dont cause this problem I'm afraid. Removing all addins, opening the editor and repeating open a wkbk, open a second, close the first, close the second. The vba project from wkbk2 is still evident.

    The only way of avoiding the situation above is to NOT open the VBE, then no projects show as being loaded after performing the above.


    And I assume you don't have Google Desktop installed ?

    Nope.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1