PDA

View Full Version : [SOLVED:] Unable to set Reference Library in VBE



shades
09-30-2006, 07:31 AM
I have a co-worker that I am setting up with some code that makes use of the Reference Library: Microsoft Powerpoint Object library.

However, in VBE, under Tools, the "Reference" item is greyed out. I have not seen this before. Remotely I have helped 50+ people over the past 2 years with setting this up, and everyone has always been able to go to Tools > Reference and bring up the Reference Libary dialog box.

Any ideas about how to resolve this?

johnske
09-30-2006, 07:39 AM
Hi Rich,

If I read this right this should get you out of trouble...


Sub EnableRefsDialog()
Application.VBE.CommandBars("Tools").Controls("References...").Enabled = True
End Sub

shades
09-30-2006, 07:56 AM
Thanks. I will try that Monday morning since I am training the group in which she works.

shades
10-02-2006, 04:24 PM
Worked perfectly! Thanks!