Chip,

I am a bit at sea here. I need the line of code to set the reference to "Microsoft Visual Basic for Applications Extensibility 5.3" programmatically and with the same effect as the manual approach ie the requisite checkbox in the Reference dialogbox becomes ticked.
Set x = Application.VBE.ActiveVBProject.References("VBIDE" ) fails to achieve that.

Myles.