Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 471
Default Procedure Too Large

I get a compile error-procedure too large. The sub is 75,188 bytes. What is
the limit?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Procedure Too Large

I've never seen a limit documented by Microsoft.

Rule of thumb is about 64k.



Mike H. wrote:

I get a compile error-procedure too large. The sub is 75,188 bytes. What is
the limit?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Procedure Too Large

The number of lines can do it as well...


"Mike H." wrote in message
...
I get a compile error-procedure too large. The sub is 75,188 bytes. What
is
the limit?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Procedure Too Large

Are you saying your sub, ie a single routine, that when saved to a text file
is 75k, as distinct from a code module of multiple routines.

If so, thank the compiler for flagging and reconstruct into many smaller
subs & functions.

Regards,
Peter T

"Mike H." wrote in message
...
I get a compile error-procedure too large. The sub is 75,188 bytes. What

is
the limit?



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 471
Default Procedure Too Large

That is what I am saying, it is 75k worth of text. And to solve the problem,
I did break it out until it would run.

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
Procedure too large error phil-rge-ee Excel Programming 6 January 25th 07 03:11 PM
Procedure too large Ozgur Pars[_2_] Excel Programming 14 September 8th 06 07:07 AM
Procedure too large Tommi[_2_] Excel Programming 3 November 25th 03 08:04 PM
procedure too large Ad van Zutphen Excel Programming 6 August 9th 03 02:21 AM
Procedure Too Large problems Doug Snow Excel Programming 0 July 10th 03 02:32 PM


All times are GMT +1. The time now is 01:59 PM.

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

About Us

"It's about Microsoft Excel"