Need help with code location PL EASE

  • Thread starter Thread starter PCOR
  • Start date Start date
P

PCOR

Hi
I have been reading many tutorials but am still lost when it come to where
to place code.
I see the code below will total all the number in col A from line 1 to
200.Great...but where do I put this code and how to I call it
Please be very specific..Thanks
totVal = Application.WorksheetFunction.Sum(Worksheets(1).Range("a1:a200"))
 
TIP

Record a macro. when done, look under tools macros for your macro and select
EDIT...this will take you to the module.
The module is a standard code module...as already mentioned by otheres, but
this way you'll get to see where it sits if you look in the Project Window of
the IDE.

Patrick Molloy
Microsoft Excel MVP
 

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