If It's Not Broken Why Should You Fix It? Find Out With VBA
Sun 24th October 2010
Instead of getting used to spending lots of time on repetitive tasks, you could consider writing new code via VBA to get tasks automated. Read on to find out the advantages of learning about this software.
Many people stand behind the phrase 'if it's not broken then don't fix it', but you may not feel quite the same way when it comes to repetitive computer-related tasks.
If you've ever sat down at your desk and believed you have a long day ahead because you'll be carrying out lots of similar functions via computer programmes, then you may want to consider harnessing the power of Visual Basic for Applications (VBA). This sounds like a complicated software product that may have you returning to your Microsoft documents to finish said tasks. But if you wish to cut the amount of time you will spend on functions, such as importing tables and writing the same headers on each one, or inserting the same kinds of tables into pages of Word files, then you may find the product very beneficial.
VBA allows you to manipulate and add features that are already present in a host of Microsoft products, such as Excel, Word, Outlook, Publisher and many more. It does this by supplying you with the means to write and edit a type of computer language that is saved in files or on your PC so you are free to use it time and time again. There are already many ways to make process within applications quicker, such as using shortcuts, but sometimes they will not exist for the type of function you need.
Instead of spending hours repetitively adding the same information to the same fields in a host of spreadsheets, maybe it's time to delve deeper into VBA, either by your own research or via specialised courses to teach you the basics and more. On the other hand, you may already have a firm grasp of the principles of VBA and instead of using it to build code that will see you pressing a button for a new tool, you may want to expand the tools that allow a greater level of interactivity between users of the applications and the software itself. This is also possible and can see you adding panes of information to programmes that help guide people through them.
As well as helping you to create new functions to automate tasks and boost interactivity, you are also free to write commands that assist you in drawing together different Microsoft products. So if you need to move data that is currently held in an Excel spreadsheet to a PowerPoint document then there is VBA code waiting to be written by you. Before setting off and writing code to create these new functions, it's important that you get a grasp of 'objects' as they give you the playing field from which you are free to change and alter the functionality of the documents.
An object could be described as a kind of map of the interface you see when opening documents such as Word files. Objects are the applications/tools you can use within the programme and their properties refer to 'descriptions' of the functions. If the text was an object then whether it was in a certain colour would be its property and you are free to change these by using 'methods', which activate it.
Taking all this into account, you may see the wider picture when it comes to writing VBA, in that programmes have lots of different objects, meaning there is much scope for you to manipulate and alter their functionality.
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.
National Physical Laboratory Assisstant Research Scientist Olivia Whiteside Excel VBA Intermediate
Extremely pleased with the delivery, pace and content of this course. It exceeded my expectations.
The only thing I could suggest is a bit more of an introduction to coding. I have previous experience coding in C but I feel without this recent knowledge I would not have been able to keep up as well with the understanding of the VBA code writing.
The William Pears Group Licensing Administrator Rebecca Kirk Excel Introduction
Thanks so much for your patience and time in explaining things at a level to suit all.
Livity Chrissie Dallas Cowan Excel Introduction
Very good indeed. Well paced course. Nice small class.
Good environment and atmosphere for learning.
Friendly knowledgeable trainer.
I'd love to come back for more training.