Results 1 to 4 of 4
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Christchurch, New Zealand
    Posts
    250
    Thanks
    1
    Thanked 0 Times in 0 Posts

    extensibility library (Word 2000)

    I know I've had this problem before but didn't make a note of how to overcome it. I am running Word 97, 2000 and 2002 - not all at the same time!

    I want to use the extensibility library to run some code that works on the VBeditor, and I can't remember how to find it to reference it!

    In my references list I have the following files all listed as Visual Basic for Applications (and no idea which one, if any, is the extensibility library)

    WINNTSystem32VBAEN32.OLB
    WINNTSystem32MSVBVM60.DLL
    WINNTSystem32VBAEND32.OLB
    WINNTSystem32MSVBVM50.DLL
    WINNTSystem32VEN2232.OLB
    Program FilesCommon FilesMicrosoft SharedVBAVBA332.DLL

    Are any of these the extensibility library for when I'm in Word 2000?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: extensibility library (Word 2000)

    Easier to show than to spell:
    Attached Images Attached Images

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Christchurch, New Zealand
    Posts
    250
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: extensibility library (Word 2000)

    Thank you - I've found it now and will keep the post filed away so if I need to find it again ...

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

    Re: extensibility library (Word 2000)

    The following sub will show a list of references in the active project. It should work for Word, Excel, Powerpoint etc. Output is to a message box but that can be changed to suit.<pre> Sub ShowReferences()
    Dim oRef As Object
    Dim strRef As String
    For Each oRef In Application.VBE.ActiveVBProject.References
    strRef = strRef & oRef.Name & vbTab _
    & oRef.GUID & vbTab _
    & oRef.FullPath & vbCrLf
    Next ref
    MsgBox strRef
    End Sub</pre>

    See Here and Here for some more on setting references.

    Andrew C

Posting Permissions

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