Software Macros: the Good and the Bad
What Are Macros?
Macros are automated shortcuts that replay custom commands in given contexts, so that you don't have to repeatedly do these actions manually. Think of keyboard shortcuts: a couple pressed keys get you a result much faster than scrolling to the menu bar and navigating to the desired action---especially if it's an action you do a lot. More technically, a macro is a line of code embedded inside a document that tells the software to run those commands. In Microsoft Office applications, this code is written in a programming language called Visual Basic for Applications (VBA). You can use this code to configure a macro to do just about anything you want.
Convenience for Workflow
As you can imagine, macros can save a lot of time once they are set up. Tedious tasks such as entering data can be made much more streamlined. Some common actions that are good to automate are styling & formatting, data & text entering, and communication between data sources. A macro can even be configured within another macro---for example, one might be set up to create a new document that contains another one to run a data sequence. This way, you can sit back and enjoy your coffee while the automation does the work.
A Common Attack Method
The problem with macros is that they are an easy and common way to spread viruses. Just as macro code can instruct the software to perform time-saving tasks, it can also tell it to inject malware. When macros were first added to Office in the 1990s, computer technology was just burgeoning, and the exchanges (and threats) of the internet had yet to come about. As communications and file sharing expanded, malicious actors quickly realized the potential for harm in embedding automatic instructions into a file.
When and How to Use Macros
You can see that macros can be very helpful and, under the wrong conditions, very harmful too. A good rule of thumb is to only use the macros that you configure yourself, so you know what its instructions are. This is why Microsoft has blocked files with macros by default when they're sent online---there's too much of a chance that someone has slipped malicious code into them. If you do get a file that you know is safe and you want to unblock it, you can go to the file properties, and under security, click unblock. (And, should Microsoft change this default again, you can set your own auto-blocking of internet files by following these directions.) As an interesting side note, macros can also be created in video games---but this is usually not a good idea since most gamers consider this cheating, and players can even be banned for doing it. So: use macros with discretion, created by and for yourself. Also see:Stay connected. Join the Infused Innovations email list!
Share this
You May Also Like
These Related Posts
Microsoft Tools Every Intern Should Know About

Microsoft Tools Every Intern Should Know About
June 15, 2020
4
min read
Microsoft Defender for Endpoint and Intel TDT Combine for a New Ransomware Defense

Microsoft Defender for Endpoint and Intel TDT Combine for a New Ransomware Defense
March 14, 2022
3
min read
Use Power Automate to Make Sharing to LinkedIn (and Other Places) a Breeze

Use Power Automate to Make Sharing to LinkedIn (and Other Places) a Breeze
October 3, 2022
9
min read
No Comments Yet
Let us know what you think