Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Module Question

As i am not a programmer i do not know if there is a limit to the length of a
module or ist it not good practise to have it too long/big ??
--
Les
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Module Question

Yes there is a limit to the size of a module, but I do not remember what it
is. That being said it is good practice to not make your modules too big. Far
too difficult to debug. Each module should do it's own set of tasks. For
example perhaps you will want to put all of your sorting routines in one
module and all of your printing routines in another. That makes debugging
much easier. You can change the names of your module by changing the name in
the properties window (F4 in the VBE).
--
HTH...

Jim Thomlinson


"Les" wrote:

As i am not a programmer i do not know if there is a limit to the length of a
module or ist it not good practise to have it too long/big ??
--
Les

  #3   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Module Question

Thank you very much Jim, much appreciated...
--
Les


"Jim Thomlinson" wrote:

Yes there is a limit to the size of a module, but I do not remember what it
is. That being said it is good practice to not make your modules too big. Far
too difficult to debug. Each module should do it's own set of tasks. For
example perhaps you will want to put all of your sorting routines in one
module and all of your printing routines in another. That makes debugging
much easier. You can change the names of your module by changing the name in
the properties window (F4 in the VBE).
--
HTH...

Jim Thomlinson


"Les" wrote:

As i am not a programmer i do not know if there is a limit to the length of a
module or ist it not good practise to have it too long/big ??
--
Les

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Module Question

its about 64k.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Jim Thomlinson" wrote in message
...
Yes there is a limit to the size of a module, but I do not remember what
it
is. That being said it is good practice to not make your modules too big.
Far
too difficult to debug. Each module should do it's own set of tasks. For
example perhaps you will want to put all of your sorting routines in one
module and all of your printing routines in another. That makes debugging
much easier. You can change the names of your module by changing the name
in
the properties window (F4 in the VBE).
--
HTH...

Jim Thomlinson


"Les" wrote:

As i am not a programmer i do not know if there is a limit to the length
of a
module or ist it not good practise to have it too long/big ??
--
Les



  #5   Report Post  
Posted to microsoft.public.excel.programming
Les Les is offline
external usenet poster
 
Posts: 240
Default Module Question

Thanks Bob
--
Les


"Bob Phillips" wrote:

its about 64k.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Jim Thomlinson" wrote in message
...
Yes there is a limit to the size of a module, but I do not remember what
it
is. That being said it is good practice to not make your modules too big.
Far
too difficult to debug. Each module should do it's own set of tasks. For
example perhaps you will want to put all of your sorting routines in one
module and all of your printing routines in another. That makes debugging
much easier. You can change the names of your module by changing the name
in
the properties window (F4 in the VBE).
--
HTH...

Jim Thomlinson


"Les" wrote:

As i am not a programmer i do not know if there is a limit to the length
of a
module or ist it not good practise to have it too long/big ??
--
Les






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
Module question Chip Pearson Excel Programming 1 January 23rd 07 07:03 PM
Module question NickHK Excel Programming 0 January 16th 07 01:54 AM
Class Module Question Andrew Yates Excel Programming 8 March 5th 06 03:50 PM
Class module question David Excel Programming 4 September 8th 05 04:51 PM


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