Results 1 to 3 of 3
  1. #1
    New Lounger
    Join Date
    Jun 2003
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Linking many XLA's (Office 2000)

    Hi !

    We've developed a few MS Excel XLA's in VBA which are used by us via the Excel frontend.

    In certain cases the xla's refer to each other but not in a recurring loop.
    The xla's sit in the 'xlstart' directory on our local harddrives.

    The problem we are having is that on opening / closing excel with / without a spreadsheet that uses the xla's , we get the following error :
    "This workbook is currently refered to by another workbook and cannot be closed"

    How can I avoid this ?

    Thank you in advance for any comments !!!!

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Linking many XLA's (Office 2000)

    Rather than storing your Add Ins in the XLStart folder, you should store them in a separate folder, and then you can set a reference to the Add Ins by going to Tools, Addins, and selectecting Browse to locate the chosen folder. You then select each Add In that you require.

    Office does have a prefered location for these Add Ins, and it is a folder called Library which should be part of each Office set up. If you are using User profiles, then each user should have a folder for AddIns, which can also be used.

    I have not tried this with AddIns which refer to each other, but think it should be a better solution than using XLStart.


    Andrew C

  3. #3
    WS Lounge VIP
    Join Date
    Mar 2002
    Location
    Newcazzle, UK
    Posts
    2,826
    Thanks
    136
    Thanked 482 Times in 459 Posts

    Re: Linking many XLA's (Office 2000)

    I think you have to unload the addins in the reverse sequence they were loaded.


    zeddy

Posting Permissions

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