R Ron de Bruin Aug 3, 2004 #2 Hi Grant Try this Sub test() With ThisWorkbook.VBProject.VBComponents .Remove .Item("Module2") End With End Sub
Hi Grant Try this Sub test() With ThisWorkbook.VBProject.VBComponents .Remove .Item("Module2") End With End Sub
G Grant Reid Aug 3, 2004 #3 Hi I have a workbook with two modules. Is there any way that I can programatically remove module 2 from a routine invoked from module 1? Hope someone can help? Many Thanks - Grant
Hi I have a workbook with two modules. Is there any way that I can programatically remove module 2 from a routine invoked from module 1? Hope someone can help? Many Thanks - Grant
G Grant Reid Aug 4, 2004 #4 Hi Many thanks, Ron and Frank, for the help. As usual it was spot on Kind Regards - Grant