AddFromString Code - Excel crashes ... Why ?
Hello,
If someone knows why we cannot use this line of code in a loop
without a crash of Excel ?
'-----------------------
With ThisWorkbook.VBProject.VBComponents(Worksheets(MyV ar).CodeName).CodeModule
.AddFromString Code
End With
'-----------------------
Thanks in advance for your collaboration and your time.
Salutations.
|