Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA WinInet Code Crashes Excel [email protected] Excel Programming 0 July 18th 06 09:11 PM
Excel crashes when adding code using vbproject object? mikeb Excel Programming 5 May 8th 06 11:57 PM
Simple code crashes Excel John[_60_] Excel Programming 1 October 27th 04 05:59 PM
InsertLines and AddFromString crash excel Chip R. Excel Programming 1 August 13th 04 03:28 PM
Code in ThisWorkbook crashes Excel Pat Beck Excel Programming 6 August 25th 03 09:07 AM


All times are GMT +1. The time now is 06:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"