Workbook and Standard Module

  • Thread starter Thread starter wiseman
  • Start date Start date
W

wiseman

I have not done any programming, just recorded macros and copied bits of
code from web pages, so please excuse the dumb question, but I have done
searches in Excel help, google groups and not found the answer.

I recently saw a useful looking piece of code, but it was supposed to be put
the in your workbook module (not in a standard
module). Could someone explain in a fairly simply way what the difference
is.

Thanks,
Barbara
 
You may also want to do some research on Scope of variables and procedures. Standard modules are meant for user defined Functions, Subs and Variables that are to be project wide, to be called from other procedures.

----- wiseman wrote: ----

I have not done any programming, just recorded macros and copied bits o
code from web pages, so please excuse the dumb question, but I have don
searches in Excel help, google groups and not found the answer

I recently saw a useful looking piece of code, but it was supposed to be pu
the in your workbook module (not in a standar
module). Could someone explain in a fairly simply way what the differenc
is

Thanks
Barbar
 

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