Consulting

Results 1 to 7 of 7

Thread: Excel 2007 Macro Ref Libraries

  1. #1

    Excel 2007 Macro Ref Libraries

    I'm still having problems with compile errors in Excel 2007 because (usually) ATPVBAEN can't be found. Sometimes the macro reference list shows that it's "MISSING". Explain please . . . Does "MISSING" mean that the compiler knows that what it's looking for is in ATPVBAEN, but it can't find the file on my computer??
    I noticed that sometimes the name in the macro REFERENCES list has ".XLS" as the extension, and sometimes it has ".XLA". What's the difference?

    Lately I've been getting compile errors when I use functions like DATE, CHR, and LEFT. These references are in old macros that have been running just fine for years in Excel 2003.
    I'm finding it difficult to locate files in Windows 7. Where should ATPVBAEN be located and in 2007 what extension should it have?

    Incidentally, I see that the 2010 version of Excel is available for download now.

  2. #2
    VBAX Regular
    Joined
    Dec 2004
    Posts
    92
    Location
    Go to add-ins, and check the box next to "Analysis Toolpack - VBA"

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    The Analysis Toolpak functions have been incorporated into Excel 2007, they are no longer part of an addin.

    Just uncheck that MISSING item, should resolve all.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    VBAX Regular
    Joined
    Dec 2004
    Posts
    92
    Location
    I did not know that...cool.

    So having the "Analysis Toolpack - VBA" addin in use is redundant?

  5. #5
    No, it isn't redundant if your VBA code is using elements from the ATP VBA library.
    Regards,

    Jan Karel Pieterse
    Excel MVP jkp-ads.com

  6. #6
    VBAX Regular
    Joined
    Dec 2004
    Posts
    92
    Location
    Gotcha (I think)...so it's only redundant as far as use of functions.

    Either way, I have it checked because some of the VBA projects do use it. I was just curious.

  7. #7
    Exactly. The stats analisys "functions" like regression and ANOVA still require the ATP.
    Regards,

    Jan Karel Pieterse
    Excel MVP jkp-ads.com

Posting Permissions

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