Modules Management

  • Thread starter Thread starter Kaye
  • Start date Start date
K

Kaye

Hi,

I'm building a workbook with a number of macros that have been, in the main,
"recorded".

Is it good practice to keep all macros in the one Module? Is there any
advantage to keeping them in different modules?

Using the Record Macro feature ends up slipping each new macro into new
modules.

Thanks
 
Hi
though this is in most cases also a personal preference I
like to group my macros in several modules 8note: there's
a maximum of lines for one module).

So for example I use one module for general helper
functions/subs, one module for user interaction, etc.

Try arraing them in such a way that's easier for you to
maintain the code :-)
 
Great contribution, Frank !

hglamy


Frank Kabel said:
Hi
though this is in most cases also a personal preference I
like to group my macros in several modules 8note: there's
a maximum of lines for one module).

So for example I use one module for general helper
functions/subs, one module for user interaction, etc.

Try arraing them in such a way that's easier for you to
maintain the code :-)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

VB Modules 8
Which macro module 4
Import macro 2
Set Public Variable on Open 4
Macro deletion 1
Read Only 3
problem with macro setting 1
Copying macros to another workbook 2

Back
Top