Microsoft Excel Courses Teach Advanced Macro Techniques
Wed 11th April 2007
Excel users may already realise how recorded macros can streamline redundant actions and boost their productivity. However many macro users don't realise that they can further refine their macros by editing them directly. Microsoft Excel courses can illustrate advanced techniques to take macros to the next level.
When a user records a macro, it creates a list of instructions that Excel can use to repeat the corresponding actions. These instructions are written in a computer language called Visual Basic for Applications (VBA). VBA is designed to combine powerful programming commands with simple syntax that makes it easier to learn than most other computer languages.
Optimise recorded macros
Recording actions is a simple and powerful way to create macros but the method has limitations. Microsoft Excel courses teach students how to open up the macro code, read it, and change it to refine its operation. Consider a macro used in creating invoices. The user wants it to enter the current date into the "Invoice Date" cell. There are two ways to do this with a recorded macro and neither of them will produce the desired result.
If you enter the current date, such as January 15, when recording the macro, it will always use that date as the invoice date even when entered on a different day. You'll have to manually change the invoice date every time.
However, if you enter a function such as "=TODAY()" to try and avoid the problem, that will enter the invoice date correctly but that date will be dynamic. That means that every time the invoice is loaded, the invoice date will change to the current date.
Microsoft Excel courses can show you how to alter a recorded macro so that it calculates the correct invoice date as the date the invoice is created, then enter it as a static value so that date will not change when the invoice is loaded later.
Create new commands
Although Excel contains a wide variety of built-in commands, you may have unique needs. Microsoft Excel courses teach you how to build macros from scratch rather than by recording them, and how to make those macros available as new functions in formulas.
Consider the "=AVERAGE()" function. It takes a group of values and displays their average. This is fine if you have clean data but outlier values can invalidate the mean. "=TRIMMEAN()" can help, but it cuts off data whether they are outliers or not. Microsoft Excel courses can show you how to create a new command that can analyze each data point to see if it is an outlier or not and average only the sensible data to produce a more useful mean.
Find the right Microsoft Excel courses
The power of macros can make them seem overwhelming even to experienced Excel users. Look into the Microsoft Excel courses offered and find the one appropriate to your level. You will learn a host of new techniques that will open up a universe of possibilities for Excel workbooks.
You have permission to publish this article for free providing the "About the Author" box is included in its entirety.
Do not post/reprint this article in any site or publication that contains hate, violence, porn, warez, or supports illegal activity.
Do not use this article in violation of the US CAN-SPAM Act. If sent by email, this article must be delivered to opt-in subscribers only.
If you publish this article in a format that supports linking, please ensure that all URLs and email addresses are active links, without the rel='nofollow' tag.
Software Training London Ltd. owns this article. Please respect the author's copyright and above publication guidelines.
If you do not agree to these terms, please do not use this article.
British Pipeline Agency (BPA) Operations Maintenance Supervisor Gary Kirton
"Course was enjoyable and engaging with good tips to take back and put in to action"
Carol Jones
"I thought the training was excellent"
Sothebys Chef Leafy Ashton
"The course has been very helpful. Its made me feel more confident and I will be able to put the information I have learnt to use
I will need to practice.
I'm dyslexic so struggle at times to pick the works of a computer
Have you thought of doing classes especially for those who need to do the course slower maybe in two days?"