Difference between a sub and a module

  • Thread starter Thread starter Francis Gaudreau
  • Start date Start date
F

Francis Gaudreau

Hi, I'm trying to learn VB within access and excel, and I'd like to
know what is the difference between a sub and a module, when to use
which
 
All a module is is a logical file that contains a bunch of subs and
functions.

Functions return a value, subs don't.
 

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

Back
Top