Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Does excel VBA programme has a size limit? Or some other problems caused this problem?

I have a .frx of just over 100 K, so that shouldn't be the problem.
Your best bet is the Code Cleaner and my guess is that that will solve
it.

RBS

wrote:
RB Smissaert wrote:
3 things to think of:
1. Does it have Option Explicit at the top of every module, class module
and form module and with that does it compile?
2. Best to keep the size of any module (when exported) below 64 Kb.
3. Run the free VBA code cleaner:
http://www.appspro.com/Utilities/CodeCleaner.htm

Your file size shouldn't be a problem at all. I have an .xla that is over 5
Mb
and works perfectly fine.

RBS


Thanks...
1. All codes with option explicit from very beginning
2. All modules are smaller than 10K... The form is big (22K codes in
.frm file, but the .frx file is 96K... I don't know if here is the
problem)
3. Code Cleaner need an admin account to install... Trying to get on
now...

I don't think size matters either... I once got an Excel program of
19M...
Today I found if I save the file before running macro, it works
perfectly. so adding ActiveWorkbook.Save is a naive solution...
But I still want to know why Excel behaves like this...(Maybe it is a
compiling error and Excel compiles codes when file saved?) Any hints?


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
excel size limit? Oscar Excel Discussion (Misc queries) 1 August 20th 07 06:37 PM
looking for heat loss programme to size radiators kia-ora Excel Programming 1 May 15th 06 03:40 AM
Cell size? Or size limit for Text data type? CClem Excel Discussion (Misc queries) 0 April 21st 06 04:09 PM
Limit on Excel 97 file size? Jim Brass Excel Programming 1 June 3rd 05 12:58 AM
Large Excel file size caused by a bug ? I really tried everything Anik Excel Discussion (Misc queries) 5 March 16th 05 06:19 PM


All times are GMT +1. The time now is 10:37 PM.

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"