View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
michdenis michdenis is offline
external usenet poster
 
Posts: 135
Default 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.