![]() ![]() In this way, the macro virus can integrate itself into Word, infecting future documents. For example, macros can use the VBA SHELL command to run arbitrary commands and programs or use the VBA KILL command to delete files on your hard drive.Īfter a malicious macro is loaded into an Office application like Word via an infected document, it can use features like “AutoExec” to automatically start with Word or “AutoOpen” to automatically run whenever you open a document. You might assume that a programming language designed to automate tasks in an Office suite would be fairly harmless, but you’d be wrong. Why Can Macros Do Potentially Dangerous Things? They could then embed these macros in Office documents and distribute them online. ![]() However, malicious people could write VBA code to create macros that do harmful things. ![]() Macros you’ve created yourself are fine and don’t pose a security risk. Follow our guide to creating Excel macros for more information. This allows you to automate repetitive tasks - in the future, you’ll be able to repeat the actions you recorded by running the macro. You can record your own macros using the built-in Macro Recorder. Microsoft Office documents - Word, Excel, PowerPoint, and other types of documents - can contain embedded code written in a programming language known as Visual Basic for Applications (VBA). RELATED: Learn How to Use Excel Macros to Automate Tedious Tasks ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |