![]() ![]() Once the code is written, you simply run the macro (which can even be assigned to a keyboard shortcut), and it will take the computer merely a few seconds to perform that series of tasks from start to finish, which once took you several hours. This is where VBA comes in: VBA can be used to create a subroutine (macro) that quickly and automatically performs these actions on any file you pull up. It may take several hours to perform this same set of tasks that you must do every week. To complete the task, you’d have to regularly parse and clean the data, then perform some VLOOKUPs and calculations on the data, before finally creating a pivot table and sending it off to your manager. Let’s say you work in sales & trading and get a file containing your desk’s trade positions each week. ![]() Several popular third-party add-ins commonly used in finance were all written in VBA:
0 Comments
Leave a Reply. |