Hi Does anyone have any examples of how to programmatically add code at runtime? Past NG have mentioned that with Tools>References> and checking "Microsoft Visual Basic for Applications Extensibilty 5.3" this is possible with the VBE object model. Thanks