Consulting

Results 1 to 4 of 4

Thread: Solved: MsgBox to list missing .references

  1. #1
    VBAX Mentor
    Joined
    Jan 2009
    Posts
    304
    Location

    Solved: MsgBox to list missing .references

    Is it possible to alert a user that a VBA Reference is missing?

    I would like to provide the user with a MsgBox indicating that a certain VBA Reference is missing.

    The reference happens to be from a 3rd party app (SalesForce.com).

    Any ideas?

    Thanks...

    JimS

  2. #2
    VBAX Expert CatDaddy's Avatar
    Joined
    Jun 2011
    Posts
    581
    Location
    can i see the code?

    [VBA]On Error Goto ErrHandler:
    'CODE
    Exit Sub

    ErrHandler:
    missingRef = "3rd Party Application from SalesForce.com"
    MsgBox ("Missing Reference: " & missingRef)
    End Sub[/VBA]
    ------------------------------------------------
    Happy Coding my friends

  3. #3
    VBAX Expert CatDaddy's Avatar
    Joined
    Jun 2011
    Posts
    581
    Location
    http://vbadud.blogspot.com/2008/04/g...a-project.html

    maybe is what you are looking for?
    ------------------------------------------------
    Happy Coding my friends

  4. #4
    VBAX Mentor
    Joined
    Jan 2009
    Posts
    304
    Location
    Excellent, just what I needed.

    Thanks...

    JimS

Posting Permissions

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