Proper way to create new macro

  • Thread starter Thread starter Simon
  • Start date Start date
S

Simon

I hit record then immediate after I hit stop then, step in and type in
code.

When is the best way?
 
I just type two lines

Sub Test

end Test

Most of the time I put the macros in Module sheets so I Have to use the VBA
menu to create the Module sheet Insert - Module. You can just type
macros into sheets and thisworkbook without inserting a module.
 
I just type two lines

Sub Test

end Test

Most of the time I put the macros in Module sheets so I Have to use the VBA
menu to create the Module sheet        Insert - Module.  You can just type
macros into sheets and thisworkbook without inserting a module.






- Show quoted text -

Hi Joel,

So in Excel you hit Alt F11 then click Insert Module?

Regards

Simon
 

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