I guess you mean Macros... Macros are excel's way of automating a series of actions using VB code. You can use macros to simply frequently performed tasks. Excel comes with a macro recorder using which you can record a macro and then play it again to repeat the same action.
See some example macros on the site here: http://chandoo.org/wp/tag/macros