We help IT Professionals succeed at work.
Get Started

Excel 2007 not recognizing simple functions even after correct libraries added.

Last Modified: 2012-06-27
I have an issue where by Excel 2007 users of my Excel 2003 automated workbook are receiving the attached error when the following macro is run.  

I add the following library to the References but continue to get the error.  Anyone have any idea what steps I may be missing.

Library VBA:
    C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL
    Visual Basic For Applications
Public Sub VersionInfo()

'Macro to display the document version history

    Dim varIgnore As Integer
    Const cnstFileName = "DGSS Workbook-Checklist.xls"
    Const cnstCreated = "01-May-2010"
    Const cnstVersion = "2.1"
    Const cnstModified = "04-June-2010"

    varIgnore = MsgBox("File:   " & cnstFileName & Chr(13) & "Created:" & Chr(9) & cnstCreated & Chr(13) & "Modified:" & Chr(9) & cnstModified & Chr(13) & "Version:" & Chr(9) & cnstVersion, 64, cnstFileName)

End Sub

Open in new window

Watch Question
SQL Developer
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE