LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Compile error macro is 111K. how do I fix macro

Hi,

I am surprised that you can write a macro of this size in the first place.
You to make it easier to debug, I generall ybreak the code into several
sub-routines like:

sub Main()

call Initiate
call get_Input
call Process
call Cleanup

end sub

Chances are that each of these Sub-routines will again be broken down
further, and will call internal Functions to simplify the code further.

A proper, logical design makes coding and debugging so much easier.

Hope this helps.
And there will usually be a number of internal Functions.
--
Gerd


"Dricon1" wrote:

How can I fix the macro to run. I know 64K is the maximum allowed so how can
split into two macro?

 
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
Password Protect Macro - Compile Error Teddy-B Excel Discussion (Misc queries) 1 January 23rd 08 02:50 AM
Using "Countif" in macro gives compile error ashish128 Excel Discussion (Misc queries) 4 June 15th 07 12:23 PM
Macro Compile Error Marvin Excel Programming 1 August 29th 06 06:10 PM
Macro / Compile Error / Duplicate Declaration carl Excel Worksheet Functions 1 June 29th 05 08:55 PM
macro compile error Jan Holmstrom Excel Programming 3 June 9th 05 01:46 PM


All times are GMT +1. The time now is 02:39 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"